summaryrefslogtreecommitdiffstats
path: root/vm/oo/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm/oo/Object.h')
-rw-r--r--vm/oo/Object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/oo/Object.h b/vm/oo/Object.h
index 4fc0e5ca5..fd37da0ae 100644
--- a/vm/oo/Object.h
+++ b/vm/oo/Object.h
@@ -710,6 +710,9 @@ INLINE bool dvmIsNativeMethod(const Method* method) {
INLINE bool dvmIsAbstractMethod(const Method* method) {
return (method->accessFlags & ACC_ABSTRACT) != 0;
}
+INLINE bool dvmIsSyntheticMethod(const Method* method) {
+ return (method->accessFlags & ACC_SYNTHETIC) != 0;
+}
INLINE bool dvmIsMirandaMethod(const Method* method) {
return (method->accessFlags & ACC_MIRANDA) != 0;
}