/art/test/ProfileTestMultiDex/ |
D | main.jpp | 2 @@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
|
/art/test/005-annotations/ |
D | expected.txt | 11 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 …]
|
D | info.txt | 1 Test a bunch of uses of annotations.
|
/art/test/948-change-annotations/ |
D | expected.txt | 2 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/ |
D | info.txt | 1 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.
|
D | build | 20 ./default-build "$@" --experimental parameter-annotations
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 53 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 …]
|
D | java_lang_reflect_Parameter.cc | 61 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()
|
D | java_lang_reflect_Method.cc | 44 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method)); in Method_getDefaultValue() 67 annotations::GetExceptionTypesForMethod(method); in Method_getExceptionTypes()
|
/art/test/952-invoke-custom/src/ |
D | TestLinkerUnrelatedBSM.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy; 19 import annotations.Constant;
|
D | TestDynamicBootstrapArguments.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy; 19 import annotations.Constant;
|
D | TestLinkerMethodMultipleArgumentTypes.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy; 19 import annotations.Constant;
|
D | TestLinkerMethodMinimalArguments.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy;
|
/art/test/148-multithread-gc-annotations/src/ |
D | AnnotationThread.java | 25 Annotation[] annotations = AnnotationThread.class.getAnnotations(); in run() local 26 if (annotations == null) { in run()
|
/art/test/048-reflect-v8/ |
D | expected.txt | 18 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/979-const-method-handle/ |
D | build | 28 local asrcs=util-src/annotations/*.java 53 jar -cf transformer.jar -C classes transformer/ -C classes annotations/
|
/art/test/005-annotations/src/android/test/anno/ |
D | TestAnnotations.java | 122 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/MultiDex/ |
D | main.jpp | 2 @@com.android.jack.annotations.ForceInMainDex
|
/art/test/148-multithread-gc-annotations/ |
D | info.txt | 1 Tests that getting annotations works during moving gc.
|
/art/test/MultiDexModifiedSecondary/ |
D | main.jpp | 2 @@com.android.jack.annotations.ForceInMainDex
|
/art/test/979-const-method-handle/util-src/annotations/ |
D | ConstantMethodType.java | 17 package annotations; package
|
/art/test/715-clinit-implicit-parameter-annotations/src/ |
D | Main.java | 111 Annotation[][] annotations = c.getParameterAnnotations(); in DumpConstructorParameterAnnotations() local 113 for (int i = 0; i < annotations.length; ++i) { in DumpConstructorParameterAnnotations() 120 for (Annotation annotation : annotations[i]) { in DumpConstructorParameterAnnotations()
|
/art/test/952-invoke-custom/util-src/annotations/ |
D | CalledByIndy.java | 17 package annotations; package
|
D | Constant.java | 17 package annotations; package
|
/art/test/980-redefine-object/ |
D | info.txt | 6 This also (indirectly) tests that we correctly handle reading annotations on 9 annotations on the Object class are read by the runtime directly.
|