diff options
Diffstat (limited to 'runtime/object_utils.h')
-rw-r--r-- | runtime/object_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/object_utils.h b/runtime/object_utils.h index fa7763e..3639a80 100644 --- a/runtime/object_utils.h +++ b/runtime/object_utils.h @@ -411,6 +411,10 @@ class MethodHelper { shorty_ = NULL; } + const mirror::AbstractMethod* GetMethod() const { + return method_; + } + const char* GetName() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { const DexFile& dex_file = GetDexFile(); uint32_t dex_method_idx = method_->GetDexMethodIndex(); |