diff --git a/classpath/java/lang/reflect/Method.java b/classpath/java/lang/reflect/Method.java index 8f04e7bf2b..51a64c905c 100644 --- a/classpath/java/lang/reflect/Method.java +++ b/classpath/java/lang/reflect/Method.java @@ -138,4 +138,8 @@ public class Method extends AccessibleObject implements Member { public Annotation[] getDeclaredAnnotations() { return getAnnotations(); } + + public boolean isVarArgs() { + return (getModifiers() & 0x80) != 0; + } }