public interface XClass extends Comparable<ClassDescriptor>, AccessibleEntity, AnnotatedObject
| Modifier and Type | Method and Description |
|---|---|
XField |
findField(String name,
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(String methodName,
String methodSig,
boolean isStatic)
Find an XMethod matching given parameters.
|
AnnotationValue |
getAnnotation(ClassDescriptor desc) |
Collection<ClassDescriptor> |
getAnnotationDescriptors() |
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.
|
String |
getSource() |
String |
getSourceSignature() |
ClassDescriptor |
getSuperclassDescriptor()
Get ClassDescriptor of this class's immediate superclass.
|
List<? extends XField> |
getXFields() |
List<? extends XMethod> |
getXMethods() |
boolean |
hasStubs() |
boolean |
isAbstract() |
boolean |
isInterface() |
boolean |
usesConcurrency() |
compareTogetAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSyntheticgetAnnotations, getClassDescriptor, getContainingScope, getElementType, isSynthetic@CheckForNull ClassDescriptor getSuperclassDescriptor()
ClassDescriptor[] getInterfaceDescriptorList()
ClassDescriptor getImmediateEnclosingClass()
boolean isInterface()
boolean isAbstract()
@CheckForNull String getSource()
Collection<ClassDescriptor> getAnnotationDescriptors()
getAnnotationDescriptors in interface AnnotatedObjectAnnotationValue getAnnotation(ClassDescriptor desc)
getAnnotation in interface AnnotatedObjectXMethod findMethod(String methodName, 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(String name, String signature, boolean isStatic)
name - name of the fieldsignature - signature of the fieldisStatic - true if field is static, false if notString getSourceSignature()
boolean usesConcurrency()
boolean hasStubs()
Set<ClassDescriptor> getCalledClassDescriptors()
Copyright © 2003–2015. All rights reserved.