diff options
Diffstat (limited to 'runtime/dex/dex_file_annotations.h')
-rw-r--r-- | runtime/dex/dex_file_annotations.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/runtime/dex/dex_file_annotations.h b/runtime/dex/dex_file_annotations.h index cffeb25e57..3a79e11256 100644 --- a/runtime/dex/dex_file_annotations.h +++ b/runtime/dex/dex_file_annotations.h @@ -23,7 +23,7 @@ #include "mirror/object_array.h" #include "obj_ptr.h" -namespace art { +namespace art HIDDEN { namespace mirror { class ClassLoader; @@ -40,7 +40,7 @@ ObjPtr<mirror::Object> GetAnnotationForField(ArtField* field, REQUIRES_SHARED(Locks::mutator_lock_); ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field) REQUIRES_SHARED(Locks::mutator_lock_); -ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) +EXPORT ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) REQUIRES_SHARED(Locks::mutator_lock_); bool IsFieldAnnotationPresent(ArtField* field, Handle<mirror::Class> annotation_class) REQUIRES_SHARED(Locks::mutator_lock_); @@ -67,8 +67,8 @@ bool GetParametersMetadataForMethod( ArtMethod* method, /*out*/ MutableHandle<mirror::ObjectArray<mirror::String>>* names, /*out*/ MutableHandle<mirror::IntArray>* access_flags) REQUIRES_SHARED(Locks::mutator_lock_); -ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod(ArtMethod* method) - REQUIRES_SHARED(Locks::mutator_lock_); +EXPORT ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod( + ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_); // Check whether `method` is annotated with `annotation_class`. // If `lookup_in_resolved_boot_classes` is true, look up any of the // method's annotations' classes in the bootstrap class loader's @@ -83,14 +83,14 @@ bool IsMethodAnnotationPresent(ArtMethod* method, // is annotated with @dalvik.annotation.optimization.FastNative or // @dalvik.annotation.optimization.CriticalNative with build visibility. // If yes, return the associated access flags, i.e. kAccFastNative or kAccCriticalNative. -uint32_t GetNativeMethodAnnotationAccessFlags(const DexFile& dex_file, - const dex::ClassDef& class_def, - uint32_t method_index); +EXPORT uint32_t GetNativeMethodAnnotationAccessFlags(const DexFile& dex_file, + const dex::ClassDef& class_def, + uint32_t method_index); // Is the method from the `dex_file` with the given `field_index` // annotated with @dalvik.annotation.optimization.NeverCompile? -bool MethodIsNeverCompile(const DexFile& dex_file, - const dex::ClassDef& class_def, - uint32_t method_index); +EXPORT bool MethodIsNeverCompile(const DexFile& dex_file, + const dex::ClassDef& class_def, + uint32_t method_index); // Is the method from the `dex_file` with the given `field_index` // annotated with @dalvik.annotation.optimization.NeverInline? bool MethodIsNeverInline(const DexFile& dex_file, @@ -137,9 +137,9 @@ bool GetInnerClass(Handle<mirror::Class> klass, /*out*/ ObjPtr<mirror::String>* REQUIRES_SHARED(Locks::mutator_lock_); bool GetInnerClassFlags(Handle<mirror::Class> klass, uint32_t* flags) REQUIRES_SHARED(Locks::mutator_lock_); -ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForClass( +EXPORT ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForClass( Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); -const char* GetSourceDebugExtension(Handle<mirror::Class> klass) +EXPORT const char* GetSourceDebugExtension(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); ObjPtr<mirror::Class> GetNestHost(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); |