public class MethodDescriptor extends FieldOrMethodDescriptor implements ComparableMethod
Constructor and Description |
---|
MethodDescriptor(org.apache.bcel.generic.InvokeInstruction iins,
org.apache.bcel.generic.ConstantPoolGen cpg) |
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.
|
Modifier and Type | Method and 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
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.