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
-
public class EclipseLinkASMClassWriter extends ClassWriter
EclipseLink specificClassVisitorthat 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
Constructors Constructor Description EclipseLinkASMClassWriter()EclipseLinkASMClassWriter(int flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(int access, String name, String signature, String superName, String[] interfaces)Visits the header of the class withversionset equal to currently running Java SE version.-
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
-
-
-
-
Method Detail
-
visit
public final void visit(int access, String name, String signature, String superName, String[] interfaces)Visits the header of the class withversionset 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_DEPRECATEDor 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 theObjectclass.interfaces- the internal names of the class's interfaces (seeType.getInternalName()). May be null.- See Also:
ClassWriter.visit(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
-
-