public class TransformMethodSignature extends Object implements Comparable<TransformMethodSignature>
ClassTransformation
(which operates on as-yet unloaded classes).Constructor and Description |
---|
TransformMethodSignature(int modifiers,
String type,
String name,
String[] parameterTypes,
String[] exceptionTypes) |
TransformMethodSignature(int modifiers,
String type,
String signature,
String name,
String[] parameterTypes,
String[] exceptionTypes) |
TransformMethodSignature(String name)
Convenience for adding a public void method with no parameters or exception types.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TransformMethodSignature o)
Sorting is primarily via method name.
|
boolean |
equals(Object other) |
String[] |
getExceptionTypes()
Returns a non-null array of the names of each declared exception type thrown by the method.
|
String |
getMediumDescription()
Returns a shortened form of the string representation of the method.
|
String |
getMethodName()
Returns the name of the method.
|
int |
getModifiers()
Returns the set of modifier flags for this method.
|
String[] |
getParameterTypes()
Returns an array of the type name for each parameter.
|
String |
getReturnType()
Return the type name of the return type of the method.
|
String |
getSignature() |
int |
hashCode() |
String |
toString()
Returns the long form description of the signature.
|
public TransformMethodSignature(String name)
public TransformMethodSignature(int modifiers, String type, String name, String[] parameterTypes, String[] exceptionTypes)
public String[] getExceptionTypes()
public String getMethodName()
public int getModifiers()
Modifier
public String getSignature()
public String[] getParameterTypes()
public String getReturnType()
public String toString()
public int compareTo(TransformMethodSignature o)
compareTo
in interface Comparable<TransformMethodSignature>
public String getMediumDescription()
Copyright © 2003-2012 The Apache Software Foundation.