|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.JavaClassAndMethod
public class JavaClassAndMethod
A JavaClass and a Method belonging to the class. This is useful for answering a method lookup query which must concretely identify both the class and the method.
Constructor Summary | |
---|---|
JavaClassAndMethod(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Method method)
Constructor. |
|
JavaClassAndMethod(XMethod method)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
org.apache.bcel.classfile.JavaClass |
getJavaClass()
Get the JavaClass. |
org.apache.bcel.classfile.Method |
getMethod()
Get the Method. |
int |
hashCode()
|
MethodDescriptor |
toMethodDescriptor()
Get the MethodDescriptor that (hopefully) uniqely names this method. |
java.lang.String |
toString()
|
XMethod |
toXMethod()
Convert to an XMethod. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaClassAndMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)
javaClass
- the JavaClassmethod
- a Method belonging to the JavaClasspublic JavaClassAndMethod(XMethod method) throws java.lang.ClassNotFoundException
method
- an XMethod specifying a specific method in a specific class
java.lang.ClassNotFoundException
Method Detail |
---|
public org.apache.bcel.classfile.JavaClass getJavaClass()
public org.apache.bcel.classfile.Method getMethod()
public XMethod toXMethod()
public MethodDescriptor toMethodDescriptor()
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
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |