| Modifier and Type | Class and Description |
|---|---|
| public static record | |
| public static record |
| Modifier and Type | Field and Description |
|---|---|
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. | |
| public static final ClassFileImpl | |
| private ClassFile. | |
| private ClassFile. | |
| private ClassFile. |
| Access | Constructor and Description |
|---|---|
| private | ClassFileImpl(ClassFile.
|
| Modifier and Type | Method and Description |
|---|---|
| public Function | |
| public ClassFile. | |
| public byte[] | build(ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler)
Implements java. Builds a |
| public ClassHierarchyResolver | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public ClassModel | parse(byte[] bytes)
Implements java. Parses a |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public byte[] | transformClass(ClassModel model, ClassEntry newClassName, ClassTransform transform)
Implements java. Transform one |
| public List | |
| public List | |
| public ClassFileImpl | withOptions(ClassFile.
Implements java. Returns a context with altered options from this context. |
| attributeMapperOption | back to summary |
|---|---|
| private ClassFile. | |
| attributesProcessingOption | back to summary |
|---|---|
| private ClassFile. | |
| classHierarchyResolverOption | back to summary |
|---|---|
| private ClassFile. | |
| constantPoolSharingOption | back to summary |
|---|---|
| private ClassFile. | |
| deadCodeOption | back to summary |
|---|---|
| private ClassFile. | |
| deadLabelsOption | back to summary |
|---|---|
| private ClassFile. | |
| debugElementsOption | back to summary |
|---|---|
| private ClassFile. | |
| DEFAULT_CONTEXT | back to summary |
|---|---|
| public static final ClassFileImpl DEFAULT_CONTEXT | |
| lineNumbersOption | back to summary |
|---|---|
| private ClassFile. | |
| shortJumpsOption | back to summary |
|---|---|
| private ClassFile. | |
| stackMapsOption | back to summary |
|---|---|
| private ClassFile. | |
| ClassFileImpl | back to summary |
|---|---|
| private ClassFileImpl(ClassFile. | |
| attributeMapper | back to summary |
|---|---|
| public Function | |
| attributesProcessingOption | back to summary |
|---|---|
| public ClassFile. | |
| build | back to summary |
|---|---|
| public byte[] build(ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer<? super ClassBuilder> handler) Implements java. Doc from java. Builds a
| |
| classHierarchyResolver | back to summary |
|---|---|
| public ClassHierarchyResolver classHierarchyResolver() | |
| dropDeadLabels | back to summary |
|---|---|
| public boolean dropDeadLabels() | |
| dropStackMaps | back to summary |
|---|---|
| public boolean dropStackMaps() | |
| fixShortJumps | back to summary |
|---|---|
| public boolean fixShortJumps() | |
| generateStackMaps | back to summary |
|---|---|
| public boolean generateStackMaps() | |
| parse | back to summary |
|---|---|
| public ClassModel parse(byte[] bytes) Implements java. Doc from java. Parses a
Due to the on-demand nature of
| |
| passDebugElements | back to summary |
|---|---|
| public boolean passDebugElements() | |
| passLineNumbers | back to summary |
|---|---|
| public boolean passLineNumbers() | |
| patchDeadCode | back to summary |
|---|---|
| public boolean patchDeadCode() | |
| sharedConstantPool | back to summary |
|---|---|
| public boolean sharedConstantPool() | |
| stackMapsWhenRequired | back to summary |
|---|---|
| public boolean stackMapsWhenRequired() | |
| transformClass | back to summary |
|---|---|
| public byte[] transformClass(ClassModel model, ClassEntry newClassName, ClassTransform transform) Implements java. Doc from java. Transform one This method behaves as if: ConstantPoolBuilder cpb = ... this.build(newClassName, cpb, clb -> clb.transform(model, transform)); cpb is determined by ConstantPoolSharingOption.
| |
| verify | back to summary |
|---|---|
| public List Implements java. Doc from java. Verify a
| |
| verify | back to summary |
|---|---|
| public List Implements java. Doc from java. Verify a
| |
| withOptions | back to summary |
|---|---|
| public ClassFileImpl withOptions(ClassFile. Implements java. Doc from java. Returns a context with altered options from this context.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Function | attributeMapper
Record Component accessed by attributeMapper(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Function | attributeMapper()
Record Component getter of attributeMapper. Implements java. Returns the function mapping attribute names to attribute mappers.
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| attributeMapper | back to summary |
|---|---|
| private final Function<Utf8Entry, AttributeMapper<?>> attributeMapper Record Component accessed by attributeMapper(). | |
| AttributeMapperOptionImpl | back to summary |
|---|---|
| public AttributeMapperOptionImpl(Function<Utf8Entry, AttributeMapper<?>> attributeMapper) | |
| attributeMapper | back to summary |
|---|---|
| public Function Record Component getter of attributeMapper. Implements java. Doc from java. Returns the function mapping attribute names to attribute mappers. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassHierarchyResolver | classHierarchyResolver
Record Component accessed by classHierarchyResolver(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ClassHierarchyResolver | classHierarchyResolver()
Record Component getter of classHierarchyResolver. Implements java. Returns the class hierarchy resolver.
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| classHierarchyResolver | back to summary |
|---|---|
| private final ClassHierarchyResolver classHierarchyResolver Record Component accessed by classHierarchyResolver(). | |
| ClassHierarchyResolverOptionImpl | back to summary |
|---|---|
| public ClassHierarchyResolverOptionImpl(ClassHierarchyResolver classHierarchyResolver) | |
| classHierarchyResolver | back to summary |
|---|---|
| public ClassHierarchyResolver classHierarchyResolver() Record Component getter of classHierarchyResolver. Implements java. Doc from java. Returns the class hierarchy resolver. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |