Example usage for Java org.eclipse.jdt.core.util IClassFileReader fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALL This value should be used to read completely each part of a .class file. |
int | CONSTANT_POOL This value should be used to read only the constant pool entries of a .class file. |
int | METHOD_INFOS This value should be used to read the constant pool entries and the method infos of a .class file. |
int | FIELD_INFOS This value should be used to read the constant pool entries and the field infos of a .class file. |
int | CLASSFILE_ATTRIBUTES This value should be used to read the constant pool entries and the attributes of a .class file. |
int | METHOD_BODIES This value should be used to read the method bodies. |
int | ALL_BUT_METHOD_BODIES This value should be used to read the whole contents of the .class file except the method bodies. |
int | getAccessFlags() Answer back the access flags of the .class file. |
IClassFileAttribute[] | getAttributes() Answer back the collection of all attributes of the field info. |
char[] | getClassName() Answer back the qualified name of the .class file. |
IConstantPool | getConstantPool() Answer the constant pool of this .class file. |
IFieldInfo[] | getFieldInfos() Answer back the array of field infos of the .class file, an empty array if none. |
IInnerClassesAttribute | getInnerClassesAttribute() Answer back the inner classes attribute of this .class file, null if none. |
char[][] | getInterfaceNames() Answer back the names of interfaces implemented by this .class file, an empty array if none. |
int | getMajorVersion() Answer the major version of this .class file. |
IMethodInfo[] | getMethodInfos() Answer back the array of method infos of this .class file, an empty array if none. |
ISourceAttribute | getSourceFileAttribute() Answer the source file attribute, if it exists, null otherwise. |
char[] | getSuperclassName() Answer back the qualified name of the superclass of this .class file. |
boolean | isClass() Answer true if this .class file represents a class, false otherwise. |