| Modifier and Type | Class and Description |
|---|---|
| public static record |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| private final AttributeWriter | |
| private ClassModel | |
| private final CodeWriter | |
| private final ConstantWriter | |
| private static final int | |
| private static final int | |
| private byte[] | |
| private String | |
| private long | |
| private MethodModel | |
| private final Options | |
| pack-priv final ClassWriter. | |
| private int | |
| private URI | |
| private static final ClassFile |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| protected ClassFileFormatVersion | |
| private String | |
| private Set | |
| protected ClassModel | |
| private Set | |
| private String | |
| private String | |
| pack-priv String | Returns: a printable string containing the value of the constant.the descriptor, giving the expected type of the constant d, ConstantValueEntry the index of the value in the constant pool cpInfo)Get the value of an entry in the constant pool as a Java constant. |
| private static Set | |
| pack-priv static String | |
| pack-priv String | |
| protected MethodModel | |
| private static Set | |
| pack-priv static ClassWriter | |
| protected void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected void | |
| public boolean | |
| pack-priv void | |
| protected void | |
| protected void | |
| pack-priv void | |
| pack-priv void | |
| protected void | |
| protected void | |
| pack-priv void |
| ACC_STATIC_PHASE | back to summary |
|---|---|
| public static final int ACC_STATIC_PHASE | |
| ACC_TRANSITIVE | back to summary |
|---|---|
| public static final int ACC_TRANSITIVE | |
| attrWriter | back to summary |
|---|---|
| private final AttributeWriter attrWriter | |
| classModel | back to summary |
|---|---|
| private ClassModel classModel | |
| codeWriter | back to summary |
|---|---|
| private final CodeWriter codeWriter | |
| constantWriter | back to summary |
|---|---|
| private final ConstantWriter constantWriter | |
| DEFAULT_ALLOWED_MAJOR_VERSION | back to summary |
|---|---|
| private static final int DEFAULT_ALLOWED_MAJOR_VERSION | |
| DEFAULT_ALLOWED_MINOR_VERSION | back to summary |
|---|---|
| private static final int DEFAULT_ALLOWED_MINOR_VERSION | |
| digest | back to summary |
|---|---|
| private byte[] digest | |
| digestName | back to summary |
|---|---|
| private String digestName | |
| lastModified | back to summary |
|---|---|
| private long lastModified | |
| method | back to summary |
|---|---|
| private MethodModel method | |
| options | back to summary |
|---|---|
| private final Options options | |
| sigPrinter | back to summary |
|---|---|
| pack-priv final ClassWriter. | |
| size | back to summary |
|---|---|
| private int size | |
| uri | back to summary |
|---|---|
| private URI uri | |
| VERIFIER | back to summary |
|---|---|
| private static final ClassFile VERIFIER | |
| ClassWriter | back to summary |
|---|---|
| protected ClassWriter(Context context) | |
| adjustVarargs | back to summary |
|---|---|
| pack-priv String adjustVarargs(int flags, String params) | |
| cffv | back to summary |
|---|---|
| protected ClassFileFormatVersion cffv() | |
| esc | back to summary |
|---|---|
| private String esc(char c, char quote) | |
| getClassFlags | back to summary |
|---|---|
| private Set | |
| getClassModel | back to summary |
|---|---|
| protected ClassModel getClassModel() | |
| getClassModifiers | back to summary |
|---|---|
| private Set | |
| getConstantCharValue | back to summary |
|---|---|
| private String getConstantCharValue(char c) | |
| getConstantStringValue | back to summary |
|---|---|
| private String getConstantStringValue(String s) | |
| getConstantValue | back to summary |
|---|---|
| pack-priv String getConstantValue(ClassDesc d, ConstantValueEntry cpInfo) Get the value of an entry in the constant pool as a Java constant. Characters and booleans are represented by CONSTANT_Intgere entries. Character and string values are processed to escape characters outside the basic printable ASCII set.
| |
| getFlags | back to summary |
|---|---|
| private static Set | |
| getJavaName | back to summary |
|---|---|
| pack-priv static String getJavaName(String name) | |
| getJavaParameterTypes | back to summary |
|---|---|
| pack-priv String getJavaParameterTypes(MethodSignature d, int flags) | |
| getMethod | back to summary |
|---|---|
| protected MethodModel getMethod() | |
| getModifiers | back to summary |
|---|---|
| private static Set | |
| instance | back to summary |
|---|---|
| pack-priv static ClassWriter instance(Context context) | |
| setClassFile | back to summary |
|---|---|
| protected void setClassFile(ClassModel cm) | |
| setDigest | back to summary |
|---|---|
| pack-priv void setDigest(String name, byte[] digest) | |
| setFile | back to summary |
|---|---|
| pack-priv void setFile(URI uri) | |
| setFileSize | back to summary |
|---|---|
| pack-priv void setFileSize(int size) | |
| setLastModified | back to summary |
|---|---|
| pack-priv void setLastModified(long lastModified) | |
| setMethod | back to summary |
|---|---|
| protected void setMethod(MethodModel m) | |
| write | back to summary |
|---|---|
| public boolean write(ClassModel cm) | |
| writeDirectives | back to summary |
|---|---|
| pack-priv void writeDirectives() | |
| writeField | back to summary |
|---|---|
| protected void writeField(FieldModel f) | |
| writeFields | back to summary |
|---|---|
| protected void writeFields() | |
| writeList | back to summary |
|---|---|
| pack-priv void writeList(String prefix, Collection<?> items, String suffix) | |
| writeListIfNotEmpty | back to summary |
|---|---|
| pack-priv void writeListIfNotEmpty(String prefix, List<?> items, String suffix) | |
| writeMethod | back to summary |
|---|---|
| protected void writeMethod(MethodModel m) | |
| writeMethods | back to summary |
|---|---|
| protected void writeMethods() | |
| writeModifiers | back to summary |
|---|---|
| pack-priv void writeModifiers(Collection<String> items) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| private boolean | |
| public String | |
| public String | |
| private void | |
| private void | |
| private void | |
| public String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public boolean |
| verbose | back to summary |
|---|---|
| private final boolean verbose Record Component accessed by verbose(). | |
| SignaturePrinter | back to summary |
|---|---|
| public SignaturePrinter(boolean verbose) | |
| 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 | |
| isObject | back to summary |
|---|---|
| private boolean isObject(Signature sig) | |
| back to summary | |
|---|---|
| public String print(ClassSignature cs, boolean isInterface) | |
| back to summary | |
|---|---|
| public String print(Signature sig) | |
| back to summary | |
|---|---|
| private void print(StringBuilder sb, List<Signature. | |
| back to summary | |
|---|---|
| private void print(StringBuilder sb, Signature sig) | |
| back to summary | |
|---|---|
| private void print(StringBuilder sb, Signature. | |
| printList | back to summary |
|---|---|
| public String printList(String prefix, List<? extends Signature> args, String postfix) | |
| printTypeParams | back to summary |
|---|---|
| public String printTypeParams(List<Signature. | |
| 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. | |
| verbose | back to summary |
|---|---|
| public boolean verbose() Record Component getter of verbose. | |