public interface ClassDef extends TypeReference, Annotatable
Reference.InvalidReferenceException| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Gets the access flags for this class.
|
java.util.Set<? extends Annotation> |
getAnnotations()
Gets a set of the annotations that are applied to this class.
|
java.lang.Iterable<? extends Method> |
getDirectMethods()
Gets the direct methods that are defined by this class.
|
java.lang.Iterable<? extends Field> |
getFields()
Gets all the fields that are defined by this class.
|
java.lang.Iterable<? extends Field> |
getInstanceFields()
Gets the instance fields that are defined by this class.
|
java.util.List<java.lang.String> |
getInterfaces()
Gets a list of the interfaces that this class implements.
|
java.lang.Iterable<? extends Method> |
getMethods()
Gets all the methods that are defined by this class.
|
java.lang.String |
getSourceFile()
Gets the name of the primary source file that this class is defined in, if available.
|
java.lang.Iterable<? extends Field> |
getStaticFields()
Gets the static fields that are defined by this class.
|
java.lang.String |
getSuperclass()
Gets the superclass of this class.
|
java.lang.String |
getType()
Gets the class type.
|
java.lang.Iterable<? extends Method> |
getVirtualMethods()
Gets the virtual methods that are defined by this class.
|
compareTo, equals, hashCodevalidateReference@Nonnull java.lang.String getType()
getType in interface TypeReferenceint getAccessFlags()
@Nullable java.lang.String getSuperclass()
@Nonnull java.util.List<java.lang.String> getInterfaces()
@Nullable java.lang.String getSourceFile()
@Nonnull java.util.Set<? extends Annotation> getAnnotations()
getAnnotations in interface Annotatable@Nonnull java.lang.Iterable<? extends Field> getStaticFields()
@Nonnull java.lang.Iterable<? extends Field> getInstanceFields()
@Nonnull java.lang.Iterable<? extends Field> getFields()
@Nonnull java.lang.Iterable<? extends Method> getDirectMethods()
@Nonnull java.lang.Iterable<? extends Method> getVirtualMethods()
@Nonnull java.lang.Iterable<? extends Method> getMethods()