public static class Definition.Method
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.List<Definition.Type> |
arguments |
java.lang.Class<?> |
augmentation |
java.lang.invoke.MethodHandle |
handle |
org.objectweb.asm.commons.Method |
method |
int |
modifiers |
java.lang.String |
name |
Definition.Struct |
owner |
Definition.Type |
rtn |
| Constructor and Description |
|---|
Method(java.lang.String name,
Definition.Struct owner,
java.lang.Class<?> augmentation,
Definition.Type rtn,
java.util.List<Definition.Type> arguments,
org.objectweb.asm.commons.Method method,
int modifiers,
java.lang.invoke.MethodHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.invoke.MethodType |
getMethodType()
Returns MethodType for this method.
|
void |
write(MethodWriter writer) |
public final java.lang.String name
public final Definition.Struct owner
public final java.lang.Class<?> augmentation
public final Definition.Type rtn
public final java.util.List<Definition.Type> arguments
public final org.objectweb.asm.commons.Method method
public final int modifiers
public final java.lang.invoke.MethodHandle handle
public Method(java.lang.String name,
Definition.Struct owner,
java.lang.Class<?> augmentation,
Definition.Type rtn,
java.util.List<Definition.Type> arguments,
org.objectweb.asm.commons.Method method,
int modifiers,
java.lang.invoke.MethodHandle handle)
public java.lang.invoke.MethodType getMethodType()
This works even for user-defined Methods (where the MethodHandle is null).
public void write(MethodWriter writer)