Module org.eclipse.persistence.asm
Class EclipseLinkASMClassWriter
java.lang.Object
org.eclipse.persistence.internal.libraries.asm.ClassVisitor
org.eclipse.persistence.internal.libraries.asm.ClassWriter
org.eclipse.persistence.internal.libraries.asm.EclipseLinkASMClassWriter
EclipseLink specific
ClassVisitor
that generates a corresponding ClassFile structure
for currently running Java VM.-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.libraries.asm.ClassWriter
COMPUTE_FRAMES, COMPUTE_MAXS
Fields inherited from class org.eclipse.persistence.internal.libraries.asm.ClassVisitor
api, cv
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.persistence.internal.libraries.asm.ClassWriter
getClassLoader, getCommonSuperClass, hasFlags, newClass, newConst, newConstantDynamic, newField, newHandle, newHandle, newInvokeDynamic, newMethod, newMethodType, newModule, newNameType, newPackage, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
Methods inherited from class org.eclipse.persistence.internal.libraries.asm.ClassVisitor
getDelegate
-
Constructor Details
-
EclipseLinkASMClassWriter
public EclipseLinkASMClassWriter() -
EclipseLinkASMClassWriter
public EclipseLinkASMClassWriter(int flags)
-
-
Method Details
-
visit
public final void visit(int access, String name, String signature, String superName, String[] interfaces) Visits the header of the class withversion
set equal to currently running Java SE version.- Parameters:
access
- the class's access flags (seeOpcodes
). This parameter also indicates if the class is deprecatedOpcodes.ACC_DEPRECATED
or a recordOpcodes.ACC_RECORD
.name
- the internal name of the class (seeType.getInternalName()
).signature
- 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
- the internal of name of the super class (seeType.getInternalName()
). For interfaces, the super class isObject
. May be null, but only for theObject
class.interfaces
- the internal names of the class's interfaces (seeType.getInternalName()
). May be null.- See Also:
-