ComparableMethod
, FieldOrMethodName
, java.lang.Comparable<ComparableMethod>
MethodInfo
public class MethodDescriptor extends FieldOrMethodDescriptor implements ComparableMethod
Constructor | Description |
---|---|
MethodDescriptor(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature) |
|
MethodDescriptor(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature,
boolean isStatic) |
Constructor.
|
MethodDescriptor(org.apache.bcel.generic.InvokeInstruction iins,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(ComparableMethod o) |
|
boolean |
equals(java.lang.Object obj) |
compareTo, compareTo, getClassDescriptor, getName, getNameSigHashCode, getNameSigHashCode, getSignature, getSlashedClassName, hashCode, haveEqualFields, isStatic, toString
public MethodDescriptor(@SlashedClassName java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, boolean isStatic)
className
- name of the class containing the method, in VM format (e.g.,
"java/lang/String")methodName
- name of the methodmethodSignature
- signature of the methodisStatic
- true if method is static, false otherwisepublic MethodDescriptor(@SlashedClassName java.lang.String className, java.lang.String methodName, java.lang.String methodSignature)
public MethodDescriptor(org.apache.bcel.generic.InvokeInstruction iins, org.apache.bcel.generic.ConstantPoolGen cpg)
public int compareTo(ComparableMethod o)
compareTo
in interface java.lang.Comparable<ComparableMethod>
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
SpotBugs is licensed under the LGPL.