public class MethodSpec
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable
Constructor and Description |
---|
MethodSpec(java.lang.String text) |
MethodSpec(java.lang.String methodIntf,
java.lang.String methodName,
java.lang.String[] parameterTypes) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMethodIntf() |
java.lang.String |
getMethodName() |
java.lang.String[] |
getParameterTypes() |
int |
hashCode() |
boolean |
matches(java.lang.String methodIntf,
java.lang.String methodName,
java.lang.String[] parameterTypes) |
java.lang.String |
toString() |
public MethodSpec(java.lang.String methodIntf, java.lang.String methodName, java.lang.String[] parameterTypes)
public MethodSpec(java.lang.String text)
public java.lang.String getMethodIntf()
public java.lang.String getMethodName()
public java.lang.String[] getParameterTypes()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean matches(java.lang.String methodIntf, java.lang.String methodName, java.lang.String[] parameterTypes)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable