Modifier and Type | Field and Description |
---|---|
private List | |
private final int | |
private final List | |
private List | |
private final List | |
pack-priv final ClassReaderImpl |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public List | attributes()
Implements java. Returns the attributes of this element. |
public int | |
public ConstantPool | constantPool()
Implements java. Returns the constant pool for this class. |
public List | |
public AccessFlags | |
public void | forEachElement(Consumer<ClassElement>
the handler consumer)Implements java. Invoke the provided handler with each element contained in this compound element |
public List | interfaces()
Implements java. Returns the interfaces implemented by this class. |
public boolean | isModuleInfo()
Implements java. Returns whether this class is a module descriptor. |
public int | majorVersion()
Implements java. Returns the major classfile version. |
public List | |
public int | minorVersion()
Implements java. Returns the minor classfile version. |
public Optional | superclass()
Implements java. Returns the superclass of this class, if there is one. |
public ClassEntry | thisClass()
Implements java. Returns the constant pool entry describing the name of this class. |
public String | |
private boolean |
attributes | back to summary |
---|---|
private List<Attribute<?>> attributes |
attributesPos | back to summary |
---|---|
private final int attributesPos |
fields | back to summary |
---|---|
private final List<FieldModel> fields |
interfaces | back to summary |
---|---|
private List<ClassEntry> interfaces |
methods | back to summary |
---|---|
private final List<MethodModel> methods |
reader | back to summary |
---|---|
pack-priv final ClassReaderImpl reader |
ClassImpl | back to summary |
---|---|
public ClassImpl(byte[] cfbytes, ClassFileImpl context) |
attributes | back to summary |
---|---|
public List Implements java. Doc from java. Returns the attributes of this element. |
classfileLength | back to summary |
---|---|
public int classfileLength() |
constantPool | back to summary |
---|---|
public ConstantPool constantPool() Implements java. Doc from java. Returns the constant pool for this class.
|
fields | back to summary |
---|---|
public List Implements java. Doc from java. Returns the fields of this class.
|
flags | back to summary |
---|---|
public AccessFlags flags() Implements java. Doc from java. Returns the access flags.
|
forEachElement | back to summary |
---|---|
public void forEachElement(Consumer<ClassElement> consumer) Implements java. Doc from java. Invoke the provided handler with each element contained in this compound element
|
interfaces | back to summary |
---|---|
public List Implements java. Doc from java. Returns the interfaces implemented by this class.
|
isModuleInfo | back to summary |
---|---|
public boolean isModuleInfo() Implements java. Doc from java. Returns whether this class is a module descriptor.
|
majorVersion | back to summary |
---|---|
public int majorVersion() Implements java. Doc from java. Returns the major classfile version.
|
methods | back to summary |
---|---|
public List Implements java. Doc from java. Returns the methods of this class.
|
minorVersion | back to summary |
---|---|
public int minorVersion() Implements java. Doc from java. Returns the minor classfile version.
|
superclass | back to summary |
---|---|
public Optional Implements java. Doc from java. Returns the superclass of this class, if there is one.
|
thisClass | back to summary |
---|---|
public ClassEntry thisClass() Implements java. Doc from java. Returns the constant pool entry describing the name of this class.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- |
verifyModuleAttributes | back to summary |
---|---|
private boolean verifyModuleAttributes() |