This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | ClassWriter.
A visitor to write an attribute including its leading single-character marker. |
| public static class | ClassWriter.
Thrown when the constant pool is over full. |
| pack-priv abstract static class | ClassWriter.
An entry in the JSR202 StackMapTable |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ClassWriter. | |
| private Check | |
| pack-priv static final int | |
| protected static final Context. | |
| pack-priv static final int | DATA_BUF_SIZE
The initial sizes of the data and constant pool buffers. |
| public ByteBuffer | databuf
An output buffer for member info. |
| private boolean | debugstackmap
Switch: describe the generated stackmap. |
| private boolean | dumpClassModifiers
Value of option 'dumpmodifiers' is a string indicating which modifiers should be dumped for debugging: 'c' -- classes 'f' -- fields 'i' -- innerclass attributes 'm' -- methods For example, to dump everything: javac -XDdumpmodifiers=cifm MyProg.java |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | emitSourceFile
Switch: emit source file attribute. |
| private List | |
| private final JavaFileManager | fileManager
Access to files. |
| private static final String[] | |
| pack-priv static final int | |
| private boolean | genCrt
Switch: generate CharacterRangeTable attribute. |
| private final Log | log
The log to use for verbose output. |
| pack-priv static final int | |
| public boolean | multiModuleMode
If true, class files will be written in module-specific subdirectories of the CLASS_OUTPUT location. |
| private final Names | names
The name table. |
| private final Options | |
| pack-priv ByteBuffer | poolbuf
An output buffer for the constant pool. |
| pack-priv final PoolWriter | poolWriter
The constant pool writer. |
| private Preview | preview
Preview language level. |
| pack-priv static final int | |
| pack-priv static final int | SAME_FRAME_SIZE
The tags and constants used in compressed stackmap. |
| pack-priv static final int | |
| private Source | source
Source language version. |
| private Target | target
Target class version. |
| private Types | types
Type utilities. |
| private boolean | verbose
Switch: verbose output. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv int | |
| pack-priv int | |
| private void | |
| public void | |
| pack-priv void | |
| public static String | |
| pack-priv long | |
| public static ClassWriter | |
| private void | |
| private boolean | |
| pack-priv void | putChar(ByteBuffer buf, int op, int x)
Write a character into given byte buffer; byte buffer will not be grown. |
| pack-priv void | putInt(ByteBuffer buf, int adr, int x)
Write an integer into given byte buffer; byte buffer will not be grown. |
| private boolean | |
| private boolean | |
| public int | |
| pack-priv void | |
| public JavaFileObject | writeClass(Symbol.
The class from which a class file is generated. cEmit a class file for a given class. |
| public void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| protected int | writeEnclosingMethodAttribute(Name attributeName, Symbol.
Write the EnclosingMethod attribute with a specified name. |
| protected int | Returns: the number of attributes writtenAllows friends to write additional attributes |
| protected int | Returns: the number of attributes writtenAllows subclasses to write additional class attributes |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| pack-priv void | |
| pack-priv int | writeJavaAnnotations(List<Attribute.
Write Java-language annotations; return number of JVM attributes written (zero or one). |
| pack-priv int | writeMemberAttrs(Symbol sym, boolean isRecordComponent)
Write member (field or method) attributes; return number of attributes written. |
| pack-priv void | |
| pack-priv int | writeMethodParametersAttr(Symbol.
Write method parameter names attribute. |
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| private void | |
| private void | |
| pack-priv int | writeParameterAttrs(List<Symbol.
Write method parameter annotations; return number of attributes written. |
| pack-priv int | |
| pack-priv void | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int |