Example usage for Java org.objectweb.asm.commons Method fields, constructors, methods, implement or subclass
The text is from its open source code.
Method(final String name, final Type returnType, final Type[] argumentTypes) Constructs a new Method . | |
Method(final String name, final String descriptor) Constructs a new Method . |
boolean | equals(final Object other) |
Type[] | getArgumentTypes() Returns the argument types of the method described by this object. |
String | getDescriptor() Returns the descriptor of the method described by this object. |
Method | getMethod(final java.lang.reflect.Method method) Creates a new Method . |
Method | getMethod(final java.lang.reflect.Constructor> constructor) Creates a new Method . |
Method | getMethod(final String method) Returns a Method corresponding to the given Java method declaration. |
Method | getMethod(final String method, final boolean defaultPackage) Returns a Method corresponding to the given Java method declaration. |
String | getName() Returns the name of the method described by this object. |
Type | getReturnType() Returns the return type of the method described by this object. |