class Method extends Member
Constructor and Description |
---|
Method(Method method)
Construct a Method is constructed from its internal representation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Method that)
Method equality is defined HERE as having override-equivalent signatures.
|
protected Member |
member()
Return the member's internal representation.
|
Type |
returnType()
Return the method's return type.
|
String |
toDescriptor()
Return the JVM descriptor for this method.
|
String |
toString()
Return the Java representation for this method.
|
declaringType, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, name
public Method(Method method)
method
- a Java method in the relection API.public String toDescriptor()
public String toString()
public Type returnType()
public boolean equals(Method that)
that
- the method we are comparing this to.