Searched refs:annotations (Results 1 - 25 of 34) sorted by relevance

12

/art/test/715-clinit-implicit-parameter-annotations/
H A Dbuild24 ./default-build "$@" --experimental parameter-annotations
/art/test/148-multithread-gc-annotations/src/
H A DAnnotationThread.java25 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 DCalledByIndy.java17 package annotations; package
H A DConstant.java17 package annotations; package
H A DBootstrapMethod.java17 package annotations; package
/art/test/952-invoke-custom/src/
H A DTestLinkerUnrelatedBSM.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
H A DTestLinkerMethodMultipleArgumentTypes.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
19 import annotations.Constant;
H A DTestLinkerMethodMinimalArguments.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
H A DTestInvokeCustomWithConcurrentThreads.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
H A DTestInvocationKinds.java17 import annotations.BootstrapMethod;
18 import annotations.CalledByIndy;
/art/runtime/native/
H A Djava_lang_reflect_Parameter.cc61 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 Djava_lang_reflect_Executable.cc50 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 Djava_lang_reflect_Method.cc43 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method));
66 annotations::GetExceptionTypesForMethod(method);
H A Djava_lang_Class.cc640 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 Djava_lang_reflect_Constructor.cc42 annotations::GetExceptionTypesForMethod(method);
H A Djava_lang_reflect_Field.cc454 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 DTestAnnotations.java28 * 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 DMain.java111 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 DIndyTransformer.java18 import annotations.BootstrapMethod;
19 import annotations.CalledByIndy;
20 import annotations.Constant;
/art/dexlayout/
H A Ddex_ir.cc372 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 Ddex_ir.h931 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 Dti_field.cc95 art::annotations::GetSignatureAnnotationForField(art_field);
/art/runtime/dex/
H A Ddex_file_annotations.h35 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 Dart_method-inl.h262 return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc);
/art/runtime/interpreter/
H A Dunstarted_runtime.cc468 result->SetL(annotations::GetDeclaringClass(klass));
478 result->SetL(annotations::GetEnclosingClass(klass));
501 result->SetL(annotations::GetSignatureAnnotationForClass(klass));
514 if (!annotations::GetInnerClass(klass, &class_name)) {

Completed in 305 milliseconds

12