mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +00:00
Add the Method#isVarArgs method
Required by bleeding-edge Beanshell... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
0e3e719dd6
commit
526dd574d9
@ -138,4 +138,8 @@ public class Method<T> extends AccessibleObject implements Member {
|
|||||||
public Annotation[] getDeclaredAnnotations() {
|
public Annotation[] getDeclaredAnnotations() {
|
||||||
return getAnnotations();
|
return getAnnotations();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isVarArgs() {
|
||||||
|
return (getModifiers() & 0x80) != 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user