Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 25 of 67) sorted by relevance

123

/art/test/ProfileTestMultiDex/
Dmain.jpp2 @@com.android.jack.annotations.ForceInMainDex
5 @@com.android.jack.annotations.ForceInMainDex
8 @@com.android.jack.annotations.ForceInMainDex
11 @@com.android.jack.annotations.ForceInMainDex
14 @@com.android.jack.annotations.ForceInMainDex
17 @@com.android.jack.annotations.ForceInMainDex
20 @@com.android.jack.annotations.ForceInMainDex
23 @@com.android.jack.annotations.ForceInMainDex
/art/test/005-annotations/
Dexpected.txt11 annotations on TYPE class android.test.anno.SimplyNoted(2):
17 annotations on CTOR android.test.anno.SimplyNoted():
20 constructor parameter annotations:
21 annotations on CTOR android.test.anno.SimplyNoted(int):
24 constructor parameter annotations:
27 annotations on METH public int android.test.anno.SimplyNoted.foo():
30 method parameter annotations:
31 annotations on FIELD public int android.test.anno.SimplyNoted.mFoo:
34 annotations on FIELD public static int android.test.anno.SimplyNoted.mOneFoo:
38 annotations on TYPE interface android.test.anno.INoted(1):
[all …]
Dinfo.txt1 Test a bunch of uses of annotations.
/art/test/948-change-annotations/
Dexpected.txt2 Type annotations: [@TestClassAnnotation1(value=hello)]
6 Type annotations: []
9 Type annotations: [@TestClassAnnotation1(value=hello)]
13 Type annotations: [@TestClassAnnotation1(value=hello), @TestClassAnnotation2(value=hello2)]
16 Type annotations: [@TestClassAnnotation1(value=hello)]
20 Type annotations: [@TestClassAnnotation1(value=Goodbye)]
/art/test/715-clinit-implicit-parameter-annotations/
Dinfo.txt1 Tests ART synthesizes parameter annotations for implicit parameters on
3 parameters. If the constructor has parameter annotations, the implicit
4 parameters may not have annotations in the DEX file, but code that
5 looks at these annotations will expect them to.
Dbuild20 ./default-build "$@" --experimental parameter-annotations
/art/test/148-multithread-gc-annotations/src/
DAnnotationThread.java25 Annotation[] annotations = AnnotationThread.class.getAnnotations(); in run() local
26 if (annotations == null) { in run()
/art/test/952-invoke-custom/src/
DTestLinkerUnrelatedBSM.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
DTestDynamicBootstrapArguments.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
DTestLinkerMethodMultipleArgumentTypes.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
DTestLinkerMethodMinimalArguments.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
DTestLinkerMethodWithRange.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
/art/runtime/native/
Djava_lang_reflect_Executable.cc53 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForMethod(method)); in Executable_getDeclaredAnnotationsNative()
66 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForMethod(method, klass)); in Executable_getAnnotationNative()
76 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForMethod(method)); in Executable_getSignatureAnnotation()
88 Handle<mirror::ObjectArray<mirror::Object>> annotations = in Executable_getParameterAnnotationsNative() local
89 hs.NewHandle(annotations::GetParameterAnnotations(method)); in Executable_getParameterAnnotationsNative()
90 if (annotations.IsNull()) { in Executable_getParameterAnnotationsNative()
100 annotations->GetLength() == static_cast<int>(method->GetNumberOfParameters())) { in Executable_getParameterAnnotationsNative()
101 return soa.AddLocalReference<jobjectArray>(annotations.Get()); in Executable_getParameterAnnotationsNative()
108 if (annotations::GetEnclosingMethod(declaring_class) != nullptr || in Executable_getParameterAnnotationsNative()
110 return soa.AddLocalReference<jobjectArray>(annotations.Get()); in Executable_getParameterAnnotationsNative()
[all …]
Djava_lang_reflect_Parameter.cc61 uint32_t annotated_parameter_count = annotations::GetNumberOfAnnotatedMethodParameters(method); in Parameter_getAnnotationNative()
75 if (annotations::GetEnclosingMethod(declaring_class) == nullptr && !declaring_class->IsEnum()) { in Parameter_getAnnotationNative()
98 annotations::GetAnnotationForMethodParameter(method, parameterIndex, klass)); in Parameter_getAnnotationNative()
Djava_lang_reflect_Method.cc44 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method)); in Method_getDefaultValue()
69 annotations::GetExceptionTypesForMethod(method); in Method_getExceptionTypes()
/art/test/979-const-method-handle/
Dbuild28 local asrcs=util-src/annotations/*.java
53 jar -cf transformer.jar -C classes transformer/ -C classes annotations/
/art/test/048-reflect-v8/
Dexpected.txt18 Class annotations by type:
37 Declared annotations by class class SingleUser, annotation interface Calendar: @Calendar(dayOfMonth…
38 Declared annotations by class class SingleUser, annotation interface Calendars: <null>
39 Declared annotations by class class User, annotation interface Calendar: <null>
40 Declared annotations by class class User, annotation interface Calendars: @Calendars(value=[@Calend…
41 Declared annotations by class class UserComplex, annotation interface Calendar: @Calendar(dayOfMont…
42 Declared annotations by class class UserComplex, annotation interface Calendars: @Calendars(value=[…
43 Declared annotations by class class UserSub, annotation interface Calendar: <null>
44 Declared annotations by class class UserSub, annotation interface Calendars: <null>
45 Declared annotations by class class UserSub2, annotation interface Calendar: @Calendar(dayOfMonth=s…
[all …]
/art/test/148-multithread-gc-annotations/
Dinfo.txt1 Tests that getting annotations works during moving gc.
/art/test/MultiDex/
Dmain.jpp2 @@com.android.jack.annotations.ForceInMainDex
/art/test/MultiDexModifiedSecondary/
Dmain.jpp2 @@com.android.jack.annotations.ForceInMainDex
/art/test/005-annotations/src/android/test/anno/
DTestAnnotations.java122 Annotation[] annotations; in testArrays() local
126 annotations = field.getAnnotations(); in testArrays()
127 System.out.println(field + ": " + annotations[0].toString()); in testArrays()
130 annotations = field.getAnnotations(); in testArrays()
131 System.out.println(field + ": " + annotations[0].toString()); in testArrays()
/art/test/979-const-method-handle/util-src/annotations/
DConstantMethodType.java17 package annotations; package
DConstantMethodHandle.java17 package annotations; package
/art/test/952-invoke-custom/util-src/annotations/
DCalledByIndy.java17 package annotations; package
DConstant.java17 package annotations; package

123