mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
Implement Method#getDefaultValue()
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@ -142,4 +142,9 @@ public class Method<T> extends AccessibleObject implements Member {
|
||||
public boolean isVarArgs() {
|
||||
return (getModifiers() & 0x80) != 0;
|
||||
}
|
||||
|
||||
public Object getDefaultValue() {
|
||||
ClassLoader loader = getDeclaringClass().getClassLoader();
|
||||
return Classes.getAnnotationDefaultValue(loader, vmMethod.addendum);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user