|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.ajdt.internal.core.builder.CompactTypeStructureRepresentation
public class CompactTypeStructureRepresentation
Used to determine if a type has structurally changed during incremental compilation. At the end of compilation we create one of these objects using the bytes for the class about to be woven. On a subsequent incremental compile we compare the new form of the class with a previously stored CompactTypeStructureRepresentation instance. A structural change will indicate we need to do recompile other dependent types.
| Field Summary |
|---|
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IDependent |
|---|
JAR_FILE_ENTRY_SEPARATOR |
| Constructor Summary | |
|---|---|
CompactTypeStructureRepresentation(ClassFileReader cfr,
boolean isAspect)
|
|
| Method Summary | |
|---|---|
IBinaryAnnotation[] |
getAnnotations()
Answer the runtime visible and invisible annotations for this type or null if none. |
char[] |
getEnclosingMethod()
Answer the enclosing method (including method selector and method descriptor), or null if none. |
char[] |
getEnclosingTypeName()
Answer the resolved name of the enclosing type in the class file format as specified in section 4.2 of the Java 2 VM spec or null if the receiver is a top level type. |
IBinaryField[] |
getFields()
Answer the receiver's fields or null if the array is empty. |
char[] |
getFileName()
Answer the file name which defines the type. |
char[] |
getGenericSignature()
Answer the receiver's signature which describes the parameter & return types as specified in section 4.4.4 of the Java 2 VM spec 3rd edition. |
char[][] |
getInterfaceNames()
Answer the resolved names of the receiver's interfaces in the class file format as specified in section 4.2 of the Java 2 VM spec or null if the array is empty. |
IBinaryNestedType[] |
getMemberTypes()
Answer the receiver's nested types or null if the array is empty. |
IBinaryMethod[] |
getMethods()
Answer the receiver's methods or null if the array is empty. |
char[][][] |
getMissingTypeNames()
Answer the list of missing type names which were referenced from the problem classfile. |
int |
getModifiers()
Answer an int whose bits are set according the access constants defined by the VM spec. |
char[] |
getName()
Answer the resolved name of the type in the class file format as specified in section 4.2 of the Java 2 VM spec. |
char[] |
getSourceName()
Answer the simple name of the type in the class file. |
char[] |
getSuperclassName()
Answer the resolved name of the receiver's superclass in the class file format as specified in section 4.2 of the Java 2 VM spec or null if it does not have one. |
long |
getTagBits()
Answer the tagbits set according to the bits for annotations. |
boolean |
isAnonymous()
Answer true if the receiver is an anonymous class. |
boolean |
isBinaryType()
Answer whether the receiver contains the resolved binary form or the unresolved source form of the type. |
boolean |
isLocal()
Answer true if the receiver is a local class. |
boolean |
isMember()
Answer true if the receiver is a member class. |
char[] |
sourceFileName()
Answer the source file attribute, or null if none. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompactTypeStructureRepresentation(ClassFileReader cfr,
boolean isAspect)
| Method Detail |
|---|
public char[][][] getMissingTypeNames()
IBinaryType
getMissingTypeNames in interface IBinaryTypepublic char[] getEnclosingTypeName()
IBinaryType
getEnclosingTypeName in interface IBinaryTypepublic int getModifiers()
IGenericType
getModifiers in interface IGenericTypepublic char[] getGenericSignature()
IBinaryType
getGenericSignature in interface IBinaryTypepublic char[] getEnclosingMethod()
IBinaryType
getEnclosingMethod in interface IBinaryTypepublic char[][] getInterfaceNames()
IBinaryType
getInterfaceNames in interface IBinaryTypepublic boolean isAnonymous()
IBinaryType
isAnonymous in interface IBinaryTypepublic char[] sourceFileName()
IBinaryType
sourceFileName in interface IBinaryTypepublic boolean isLocal()
IBinaryType
isLocal in interface IBinaryTypepublic boolean isMember()
IBinaryType
isMember in interface IBinaryTypepublic char[] getSuperclassName()
IBinaryType
getSuperclassName in interface IBinaryTypepublic char[] getFileName()
IDependent
getFileName in interface IDependentpublic char[] getName()
IBinaryType
getName in interface IBinaryTypepublic long getTagBits()
IBinaryType
getTagBits in interface IBinaryTypepublic boolean isBinaryType()
IGenericType
isBinaryType in interface IGenericTypepublic IBinaryField[] getFields()
IBinaryType
getFields in interface IBinaryTypepublic IBinaryMethod[] getMethods()
IBinaryType
getMethods in interface IBinaryTypepublic IBinaryNestedType[] getMemberTypes()
IBinaryType
getMemberTypes in interface IBinaryTypepublic IBinaryAnnotation[] getAnnotations()
IBinaryType
getAnnotations in interface IBinaryTypepublic char[] getSourceName()
IBinaryType
getSourceName in interface IBinaryType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||