public interface XClass extends java.lang.Comparable<ClassDescriptor>, AccessibleEntity, AnnotatedObject
| Modifier and Type | Method and Description |
|---|---|
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() |
java.util.Set<ClassDescriptor> |
getCalledClassDescriptors() |
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() |
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSyntheticgetAnnotations, getClassDescriptor, getContainingScope, getElementType, isSynthetic@CheckForNull ClassDescriptor getSuperclassDescriptor()
ClassDescriptor[] getInterfaceDescriptorList()
ClassDescriptor getImmediateEnclosingClass()
boolean isInterface()
boolean isAbstract()
@CheckForNull java.lang.String getSource()
java.util.Collection<ClassDescriptor> getAnnotationDescriptors()
getAnnotationDescriptors in interface AnnotatedObjectAnnotationValue getAnnotation(ClassDescriptor desc)
getAnnotation in interface AnnotatedObjectXMethod 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 notXMethod findMethod(MethodDescriptor descriptor)
descriptor - a MethodDescriptorXMethod findMatchingMethod(MethodDescriptor descriptor)
descriptor - a MethodDescriptorXField 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 notjava.util.List<? extends XField> getXFields()
java.util.List<? extends XMethod> getXMethods()
java.lang.String getSourceSignature()
boolean usesConcurrency()
boolean hasStubs()
java.util.Set<ClassDescriptor> getCalledClassDescriptors()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.