summaryrefslogtreecommitdiff
path: root/runtime/dex_file_annotations.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/dex_file_annotations.h')
-rw-r--r--runtime/dex_file_annotations.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/dex_file_annotations.h b/runtime/dex_file_annotations.h
index 7b4e8564b0..c66c5bdb8b 100644
--- a/runtime/dex_file_annotations.h
+++ b/runtime/dex_file_annotations.h
@@ -30,6 +30,7 @@ namespace mirror {
class ArtField;
class ArtMethod;
class ClassLinker;
+template<class T> class MutableHandle;
namespace annotations {
@@ -58,6 +59,10 @@ mirror::Object* GetAnnotationForMethodParameter(ArtMethod* method,
uint32_t parameter_idx,
Handle<mirror::Class> annotation_class)
REQUIRES_SHARED(Locks::mutator_lock_);
+bool GetParametersMetadataForMethod(ArtMethod* method,
+ MutableHandle<mirror::ObjectArray<mirror::String>>* names,
+ MutableHandle<mirror::IntArray>* access_flags)
+ REQUIRES_SHARED(Locks::mutator_lock_);
mirror::ObjectArray<mirror::String>* GetSignatureAnnotationForMethod(ArtMethod* method)
REQUIRES_SHARED(Locks::mutator_lock_);
bool IsMethodAnnotationPresent(ArtMethod* method, Handle<mirror::Class> annotation_class,