public final class ShrikeClass extends JVMClass<IClassLoader>
allInterfaces, cha, hashCode, inheritCache, instanceFields, interfaceNames, loader, methodMap, staticFields, superClass, superclassComputed, superName, typeReference| Constructor and Description |
|---|
ShrikeClass(ShrikeClassReaderHandle reader,
IClassLoader loader,
IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSoftCaches()
Clear all optional cached data associated with this class
|
protected ShrikeCTMethod[] |
computeDeclaredMethods()
initialize the declared methods array
|
boolean |
equals(Object obj) |
Collection<Annotation> |
getAnnotations()
get annotations, if any
|
Collection<Annotation> |
getAnnotations(boolean runtimeInvisible) |
ClassSignature |
getClassSignature() |
Module |
getContainer() |
protected Collection<Annotation> |
getFieldAnnotations(int fieldIndex,
boolean runtimeInvisible) |
ModuleEntry |
getModuleEntry() |
TypeReference |
getOuterClass()
If this is an inner class, return the outer class.
|
ClassReader |
getReader() |
Collection<Annotation> |
getRuntimeInvisibleAnnotations() |
Collection<Annotation> |
getRuntimeInvisibleAnnotations(int fieldIndex)
read the runtime-invisible annotations from the class file
|
Collection<Annotation> |
getRuntimeVisibleAnnotations() |
Collection<Annotation> |
getRuntimeVisibleAnnotations(int fieldIndex)
read the runtime-invisible annotations from the class file
|
boolean |
isInnerClass()
Does the class file indicate that this class is a member of some other
class?
|
boolean |
isStaticInnerClass()
Does the class file indicate that this class is a static inner class?
|
getClassInitializer, getModifiers, isAbstract, isInterface, isPrivate, isPublicaddFieldToList, computeAllInterfacesAsCollection, computeMethodMapIfNeeded, findDeclaredField, getAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassHierarchy, getClassLoader, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getDirectInterfaces, getField, getField, getMethod, getName, getReference, getSource, getSourceFileName, getSuperclass, hashCode, isArrayClass, isReferenceType, populateFieldArrayFromList, toStringpublic ShrikeClass(ShrikeClassReaderHandle reader, IClassLoader loader, IClassHierarchy cha) throws InvalidClassFileException
IllegalArgumentException - if reader is nullInvalidClassFileExceptionprotected ShrikeCTMethod[] computeDeclaredMethods() throws InvalidClassFileException
computeDeclaredMethods in class BytecodeClass<IClassLoader>InvalidClassFileExceptionpublic boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public ClassReader getReader()
public void clearSoftCaches()
public Collection<Annotation> getRuntimeInvisibleAnnotations() throws InvalidClassFileException
InvalidClassFileExceptionpublic Collection<Annotation> getRuntimeVisibleAnnotations() throws InvalidClassFileException
InvalidClassFileExceptionpublic Collection<Annotation> getAnnotations()
IClasspublic Collection<Annotation> getAnnotations(boolean runtimeInvisible) throws InvalidClassFileException
getAnnotations in class BytecodeClass<IClassLoader>InvalidClassFileExceptionpublic Collection<Annotation> getRuntimeInvisibleAnnotations(int fieldIndex) throws InvalidClassFileException
InvalidClassFileExceptionpublic Collection<Annotation> getRuntimeVisibleAnnotations(int fieldIndex) throws InvalidClassFileException
InvalidClassFileExceptionprotected Collection<Annotation> getFieldAnnotations(int fieldIndex, boolean runtimeInvisible) throws InvalidClassFileException
InvalidClassFileExceptionpublic ClassSignature getClassSignature() throws InvalidClassFileException
InvalidClassFileExceptionpublic ModuleEntry getModuleEntry()
public boolean isInnerClass()
throws InvalidClassFileException
InvalidClassFileExceptionpublic boolean isStaticInnerClass()
throws InvalidClassFileException
InvalidClassFileExceptionpublic TypeReference getOuterClass() throws InvalidClassFileException
InvalidClassFileExceptionpublic Module getContainer()
getContainer in class BytecodeClass<IClassLoader>