Example usage for Java org.eclipse.jdt.internal.compiler.classfmt ClassFileReader fields, constructors, methods, implement or subclass
The text is from its open source code.
null | sourceFileName |
ClassFileReader(byte[] classFileBytes, char[] fileName, boolean fullyInitialize) | |
ClassFileReader(byte classFileBytes[], char[] fileName) |
IBinaryAnnotation[] | getAnnotations() |
int[] | getConstantPoolOffsets() Answer the int array that corresponds to all the offsets of each entry in the constant pool |
char[] | getEnclosingTypeName() |
IBinaryField[] | getFields() Answer the receiver's this.fields or null if the array is empty. |
char[] | getFileName() |
char[] | getGenericSignature() |
char[] | getInnerSourceName() Answer the source name if the receiver is a inner type. |
char[][] | getInterfaceNames() |
IBinaryNestedType[] | getMemberTypes() |
IBinaryMethod[] | getMethods() Answer the receiver's this.methods or null if the array is empty. |
int | getModifiers() Answer an int whose bits are set according the access constants defined by the VM spec. |
IBinaryModule | getModuleDeclaration() Returns the module declaration that this class file represents. |
char[] | getName() |
char[] | getSourceName() |
char[] | getSuperclassName() |
long | getTagBits() |
boolean | hasStructuralChanges(byte[] newBytes) Check if the receiver has structural changes compare to the byte array in argument. |
boolean | isAnonymous() |
boolean | isBinaryType() |
boolean | isLocal() |
boolean | isMember() |
boolean | isNestedType() Answer true if the receiver is a nested type, false otherwise |
ClassFileReader | read(File file, boolean fullyInitialize) |
ClassFileReader | read(InputStream stream, String fileName) |
ClassFileReader | read(java.util.zip.ZipFile zip, String filename) |
ClassFileReader | read(String fileName, boolean fullyInitialize) |
ClassFileReader | read(File file) |
ClassFileReader | read(String fileName) |
ClassFileReader | read(InputStream stream, String fileName, boolean fullyInitialize) |
ClassFileReader | read(java.util.zip.ZipFile zip, String filename, boolean fullyInitialize) |