ClassVisitor that generates a corresponding ClassFile structure
for currently running Java VM.
| Modifier and Type | Field and Description |
|---|---|
| private ClassWriter |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCommonSuperClass(final String type1, final String type2)
Implements abstract org. |
| public byte[] | |
| public <T> T | |
| public final void | visit(final int
the class's access flags (see access, final String org.). This parameter also indicates if
the class is deprecated org. or a record org..the internal name of the class (see name, final String org.).the signature of this class. May be null if the class is not a
generic one, and does not extend or implement generic classes or interfaces. signature, final String the internal of name of the super class (see superName, final String[] org.).
For interfaces, the super class is Object. May be null, but only for the
Object class.the internal names of the class's interfaces (see interfaces)Type#getInternalName()). May be null.Overrides org. version set
equal to currently running Java SE version.
|
| public void | |
| public AnnotationVisitor | visitAnnotation(String descriptor, boolean visible)
Overrides org. |
| public void | |
| public FieldVisitor | visitField(int access, String name, String descriptor, String signature, Object value)
Overrides org. |
| public MethodVisitor | visitMethod(int access, String name, String descriptor, String signature, String[] exceptions)
Overrides org. |
| classWriter | back to summary |
|---|---|
| private ClassWriter classWriter | |
| EclipseLinkASMClassWriter | back to summary |
|---|---|
| public EclipseLinkASMClassWriter() | |
| EclipseLinkASMClassWriter | back to summary |
|---|---|
| public EclipseLinkASMClassWriter(final int flags) | |
| getCommonSuperClass | back to summary |
|---|---|
| public String getCommonSuperClass(final String type1, final String type2) Implements abstract org.
| |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() Overrides org.
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap() Implements abstract org.
| |
| visit | back to summary |
|---|---|
| public final void visit(final int access, final String name, final String signature, final String superName, final String[] interfaces) Overrides org. Visits the header of the class with
| |
| visit | back to summary |
|---|---|
| public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) Overrides org.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) Overrides org.
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides org.
| |
| visitField | back to summary |
|---|---|
| public FieldVisitor visitField(int access, String name, String descriptor, String signature, Object value) Overrides org.
| |
| visitMethod | back to summary |
|---|---|
| public MethodVisitor visitMethod(int access, String name, String descriptor, String signature, String[] exceptions) Overrides org.
| |