Add comments
This commit is contained in:
parent
fd9b0f9087
commit
07baefac32
|
@ -200,6 +200,11 @@ public final class Definition {
|
|||
this.handle = handle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns MethodType for this method.
|
||||
* <p>
|
||||
* This works even for user-defined Methods (where the MethodHandle is null).
|
||||
*/
|
||||
public MethodType getMethodType() {
|
||||
// we have a methodhandle already (e.g. whitelisted class)
|
||||
// just return its type
|
||||
|
|
Loading…
Reference in New Issue