Top Description Fields Constructors Methods
org.eclipse.persistence.internal.libraries.asm

public Class EclipseLinkASMClassWriter

extends ClassWriter
Class Inheritance
Imports
java.lang.reflect.Field, java.security.AccessController, .PrivilegedAction, java.util.ArrayList, .LinkedHashMap, .List, .Map, java.util.logging.Level, .Logger, java.util.regex.Pattern

EclipseLink specific ClassVisitor that generates a corresponding ClassFile structure for currently running Java VM.

Field Summary

Modifier and TypeField and Description
private static final Logger
private static final int
Inherited from org.eclipse.persistence.internal.libraries.asm.ClassWriter:
COMPUTE_FRAMESCOMPUTE_MAXS

Constructor Summary

AccessConstructor and Description
public
public
EclipseLinkASMClassWriter(final int flags)

Method Summary

Modifier and TypeMethod and Description
private static int
public final void
visit(final int
the class's access flags (see Opcodes). This parameter also indicates if the class is deprecated Opcodes#ACC_DEPRECATED or a record Opcodes#ACC_RECORD.
access
,
final String
the internal name of the class (see Type#getInternalName()).
name
,
final String
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 Type#getInternalName()). For interfaces, the super class is Object. May be null, but only for the Object class.
superName
,
final String[]
the internal names of the class's interfaces (see Type#getInternalName()). May be null.
interfaces
)

Visits the header of the class with version set equal to currently running Java SE version.

Inherited from org.eclipse.persistence.internal.libraries.asm.ClassWriter:
getClassLoadergetCommonSuperClasshasFlagsnewClassnewConstnewConstantDynamicnewFieldnewHandlenewHandlenewInvokeDynamicnewMethodnewMethodTypenewModulenewNameTypenewPackagenewUTF8toByteArrayvisitvisitAnnotationvisitAttributevisitEndvisitFieldvisitInnerClassvisitMethodvisitModulevisitNestHostvisitNestMembervisitOuterClassvisitPermittedSubclassvisitRecordComponentvisitSourcevisitTypeAnnotation

Field Detail

LOGback to summary
private static final Logger LOG
versionback to summary
private static final int version

Hides org.eclipse.persistence.internal.libraries.asm.ClassWriter.version.

Constructor Detail

EclipseLinkASMClassWriterback to summary
public EclipseLinkASMClassWriter()
EclipseLinkASMClassWriterback to summary
public EclipseLinkASMClassWriter(final int flags)

Method Detail

getLatestOPCodeVersionback to summary
private static int getLatestOPCodeVersion()
visitback to summary
public final void visit(final int access, final String name, final String signature, final String superName, final String[] interfaces)

Visits the header of the class with version set equal to currently running Java SE version.

Parameters
access:int

the class's access flags (see Opcodes). This parameter also indicates if the class is deprecated Opcodes#ACC_DEPRECATED or a record Opcodes#ACC_RECORD.

name:String

the internal name of the class (see Type#getInternalName()).

signature:String

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.

superName:String

the internal of name of the super class (see Type#getInternalName()). For interfaces, the super class is Object. May be null, but only for the Object class.

interfaces:String[]

the internal names of the class's interfaces (see Type#getInternalName()). May be null.

See Also
visit(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])