summaryrefslogtreecommitdiff
path: root/runtime/dex_file_annotations.h
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2016-09-28 12:29:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-09-28 12:29:53 +0000
commit1b6cf7fbca0fd90ae58938e4a16a77b79a83408e (patch)
tree2133501ea65ed0318e879f2cdeb19625ba02f72f /runtime/dex_file_annotations.h
parentfd8339e58e3c09097165feeed7a2d70482d40130 (diff)
parent79a21e798abde263afdb5c8d1c191c84748fe06e (diff)
Merge "Add support for Executable.getParameters() metadata"
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,