Add the Method#isVarArgs method

Required by bleeding-edge Beanshell...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2013-10-25 13:26:50 -05:00
parent 0e3e719dd6
commit 526dd574d9

View File

@ -138,4 +138,8 @@ public class Method<T> extends AccessibleObject implements Member {
public Annotation[] getDeclaredAnnotations() {
return getAnnotations();
}
public boolean isVarArgs() {
return (getModifiers() & 0x80) != 0;
}
}