| 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 structure. |
| public int | |
| public ConstantPool | constantPool()
Implements java. Returns the constant pool for this class. |
| public List | |
| public AccessFlags | |
| public void | forEach(Consumer<? super ClassElement> consumer)
Implements java. Invokes the provided handler with each member element in this compound element. |
| public List | interfaces()
Implements java. Returns the interfaces implemented by this class. |
| public boolean | isModuleInfo()
Implements java. Returns whether this |
| public int | majorVersion()
Implements java. Returns the major version of this class. |
| public List | |
| public int | minorVersion()
Implements java. Returns the minor version of this class. |
| 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 structure.
| |
| 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.
| |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super ClassElement> consumer) Implements java. Doc from java. Invokes the provided handler with each member element 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
| |
| majorVersion | back to summary |
|---|---|
| public int majorVersion() Implements java. Doc from java. Returns the major version of this class. It is a
| |
| 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 version of this class. It is a
| |
| superclass | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the superclass of this class, if there is one.
This
| |
| 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() | |