|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XClass
Interface for object representing information about a class.
Method Summary | |
---|---|
XField |
findField(java.lang.String name,
java.lang.String signature,
boolean isStatic)
Find an XField matching given parameters. |
XMethod |
findMatchingMethod(MethodDescriptor descriptor)
Find XMethod matching the name and signature of the supplied method MethodDescriptor. |
XMethod |
findMethod(MethodDescriptor descriptor)
Find XMethod matching given MethodDescriptor. |
XMethod |
findMethod(java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
Find an XMethod matching given parameters. |
AnnotationValue |
getAnnotation(ClassDescriptor desc)
|
java.util.Collection<ClassDescriptor> |
getAnnotationDescriptors()
|
ClassDescriptor |
getImmediateEnclosingClass()
Get the ClassDescriptor of the immediate enclosing class, or null if this XClass is not a nested or inner class. |
ClassDescriptor[] |
getInterfaceDescriptorList()
Get ClassDescriptors of interfaces directly implemented by this class. |
java.lang.String |
getSource()
|
java.lang.String |
getSourceSignature()
|
ClassDescriptor |
getSuperclassDescriptor()
Get ClassDescriptor of this class's immediate superclass. |
java.util.List<? extends XField> |
getXFields()
|
java.util.List<? extends XMethod> |
getXMethods()
|
boolean |
hasStubs()
|
boolean |
isAbstract()
|
boolean |
isInterface()
|
boolean |
usesConcurrency()
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface edu.umd.cs.findbugs.ba.AccessibleEntity |
---|
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynthetic |
Methods inherited from interface edu.umd.cs.findbugs.classfile.analysis.AnnotatedObject |
---|
getAnnotations, getClassDescriptor, getContainingScope, getElementType, isSynthetic |
Method Detail |
---|
@CheckForNull ClassDescriptor getSuperclassDescriptor()
ClassDescriptor[] getInterfaceDescriptorList()
ClassDescriptor getImmediateEnclosingClass()
boolean isInterface()
boolean isAbstract()
@CheckForNull java.lang.String getSource()
java.util.Collection<ClassDescriptor> getAnnotationDescriptors()
getAnnotationDescriptors
in interface AnnotatedObject
AnnotationValue getAnnotation(ClassDescriptor desc)
getAnnotation
in interface AnnotatedObject
XMethod findMethod(java.lang.String methodName, java.lang.String methodSig, boolean isStatic)
methodName
- name of the methodmethodSig
- signature of the methodisStatic
- true if the method is static, false if not
XMethod findMethod(MethodDescriptor descriptor)
descriptor
- a MethodDescriptor
XMethod findMatchingMethod(MethodDescriptor descriptor)
descriptor
- a MethodDescriptor
XField findField(java.lang.String name, java.lang.String signature, boolean isStatic)
name
- name of the fieldsignature
- signature of the fieldisStatic
- true if field is static, false if not
java.util.List<? extends XField> getXFields()
java.util.List<? extends XMethod> getXMethods()
java.lang.String getSourceSignature()
boolean usesConcurrency()
boolean hasStubs()
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |