/art/test/715-clinit-implicit-parameter-annotations/ |
H A D | build | 24 ./default-build "$@" --experimental parameter-annotations
|
/art/test/148-multithread-gc-annotations/src/ |
H A D | AnnotationThread.java | 25 Annotation[] annotations = AnnotationThread.class.getAnnotations(); 26 if (annotations == null) { 27 System.out.println("error: AnnotationThread class has no annotations");
|
/art/test/952-invoke-custom/src/annotations/ |
H A D | CalledByIndy.java | 17 package annotations; package
|
H A D | Constant.java | 17 package annotations; package
|
H A D | BootstrapMethod.java | 17 package annotations; package
|
/art/test/952-invoke-custom/src/ |
H A D | TestLinkerUnrelatedBSM.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy; 19 import annotations.Constant;
|
H A D | TestLinkerMethodMultipleArgumentTypes.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy; 19 import annotations.Constant;
|
H A D | TestLinkerMethodMinimalArguments.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy;
|
H A D | TestInvokeCustomWithConcurrentThreads.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy;
|
H A D | TestInvocationKinds.java | 17 import annotations.BootstrapMethod; 18 import annotations.CalledByIndy;
|
/art/runtime/native/ |
H A D | java_lang_reflect_Parameter.cc | 61 uint32_t annotated_parameter_count = annotations::GetNumberOfAnnotatedMethodParameters(method); 72 // annotations, as the implicit constructor parameters are an 75 if (annotations::GetEnclosingMethod(declaring_class) == nullptr && !declaring_class->IsEnum()) { 76 // Adjust the parameter index if the number of annotations does 98 annotations::GetAnnotationForMethodParameter(method, parameterIndex, klass));
|
H A D | java_lang_reflect_Executable.cc | 50 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForMethod(method)); 63 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForMethod(method, klass)); 73 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForMethod(method)); 85 Handle<mirror::ObjectArray<mirror::Object>> annotations = local 86 hs.NewHandle(annotations::GetParameterAnnotations(method)); 87 if (annotations.IsNull()) { 91 // If the method is not a constructor, or has parameter annotations 92 // for each parameter, then we can return those annotations 95 // with empty parameter annotations. 97 annotations [all...] |
H A D | java_lang_reflect_Method.cc | 43 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method)); 66 annotations::GetExceptionTypesForMethod(method);
|
H A D | java_lang_Class.cc | 640 annotations::GetAnnotationForClass(klass, annotation_class)); 657 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForClass(klass)); 666 classes = annotations::GetDeclaredClasses(klass); 692 return soa.AddLocalReference<jclass>(annotations::GetEnclosingClass(klass)); 702 ObjPtr<mirror::Object> method = annotations::GetEnclosingMethod(klass); 719 ObjPtr<mirror::Object> method = annotations::GetEnclosingMethod(klass); 744 if (!annotations::GetInnerClass(klass, &class_name)) { 758 annotations::GetSignatureAnnotationForClass(klass)); 769 if (!annotations::GetInnerClass(klass, &class_name)) { 784 return annotations [all...] |
H A D | java_lang_reflect_Constructor.cc | 42 annotations::GetExceptionTypesForMethod(method);
|
H A D | java_lang_reflect_Field.cc | 454 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForField(field, klass)); 481 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForField(field)); 490 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForField(field)); 503 return annotations::IsFieldAnnotationPresent(field, klass);
|
/art/test/005-annotations/src/android/test/anno/ |
H A D | TestAnnotations.java | 28 * Print the annotations in sorted order, so as to avoid 50 System.out.println("annotations on TYPE " + clazz + 57 System.out.println(" annotations on CTOR " + c + ":"); 60 System.out.println(" constructor parameter annotations:"); 68 System.out.println(" annotations on METH " + m + ":"); 71 System.out.println(" method parameter annotations:"); 79 System.out.println(" annotations on FIELD " + f + ":"); 121 Annotation[] annotations; 125 annotations = field.getAnnotations(); 126 System.out.println(field + ": " + annotations[ [all...] |
/art/test/715-clinit-implicit-parameter-annotations/src/ |
H A D | Main.java | 111 Annotation[][] annotations = c.getParameterAnnotations(); 113 for (int i = 0; i < annotations.length; ++i) { 115 // which retrieves all annotations for the parameters. 120 for (Annotation annotation : annotations[i]) {
|
/art/test/952-invoke-custom/src/transformer/ |
H A D | IndyTransformer.java | 18 import annotations.BootstrapMethod; 19 import annotations.CalledByIndy; 20 import annotations.Constant;
|
/art/dexlayout/ |
H A D | dex_ir.cc | 372 AnnotationsDirectoryItem* annotations = nullptr; local 376 annotations = CreateAnnotationsDirectoryItem( 386 source_file, annotations, static_values, class_data); 540 // TODO: Calculate the size of the annotations directory. 555 std::vector<AnnotationSetItem*>* annotations = new std::vector<AnnotationSetItem*>(); local 560 annotations->push_back(CreateAnnotationSetItem(dex_file, annotation_set_item, set_offset)); 562 set_ref_list = new AnnotationSetRefList(annotations);
|
H A D | dex_ir.h | 931 AnnotationsDirectoryItem* annotations, 939 annotations_(annotations), 1213 ParameterAnnotation(MethodId* method_id, AnnotationSetRefList* annotations) argument 1214 : method_id_(method_id), annotations_(annotations) { } 926 ClassDef(const TypeId* class_type, uint32_t access_flags, const TypeId* superclass, TypeList* interfaces, const StringId* source_file, AnnotationsDirectoryItem* annotations, EncodedArrayItem* static_values, ClassData* class_data) argument
|
/art/openjdkjvmti/ |
H A D | ti_field.cc | 95 art::annotations::GetSignatureAnnotationForField(art_field);
|
/art/runtime/dex/ |
H A D | dex_file_annotations.h | 35 namespace annotations { namespace in namespace:art 37 // Field annotations. 47 // Method annotations. 72 // method's annotations' classes in the bootstrap class loader's 87 // Class annotations. 142 } // namespace annotations
|
/art/runtime/ |
H A D | art_method-inl.h | 262 return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc);
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 468 result->SetL(annotations::GetDeclaringClass(klass)); 478 result->SetL(annotations::GetEnclosingClass(klass)); 501 result->SetL(annotations::GetSignatureAnnotationForClass(klass)); 514 if (!annotations::GetInnerClass(klass, &class_name)) {
|