|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodSignature
This interface describes a Java method signature; i.e. its "name" and its "parameter types". The parameter types are referenced by name, allowing us to reference classes that are not (or cannot be) loaded. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.
Method Summary | |
---|---|
void |
appendSignatureTo(java.lang.StringBuilder sb)
Append a string representation of the method signature: "foo(int, java.lang.String)" |
boolean |
equals(MethodSignature other)
|
boolean |
equals(java.lang.String otherName,
JavaType[] otherParameterTypes)
|
java.lang.String |
getName()
Return the method's name. |
JavaType[] |
getParameterTypes()
Return the method's parameter types. |
java.lang.String |
getSignature()
Return a string representation of the method signature: "foo(int, java.lang.String)" |
void |
printSignatureOn(java.io.PrintWriter pw)
Print a string representation of the method signature: "foo(int, java.lang.String)" |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getName()
JavaType[] getParameterTypes()
boolean equals(java.lang.String otherName, JavaType[] otherParameterTypes)
boolean equals(MethodSignature other)
java.lang.String getSignature()
void appendSignatureTo(java.lang.StringBuilder sb)
void printSignatureOn(java.io.PrintWriter pw)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |