Top Fields Constructors Methods
org.springframework.cglib.core

public Class DebuggingClassWriter

extends ClassVisitor
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.io.BufferedOutputStream, .File, .FileOutputStream, .OutputStream, .OutputStreamWriter, .PrintWriter, java.lang.reflect.Constructor, org.springframework.asm.ClassReader, .ClassVisitor, .ClassWriter

Field Summary

Modifier and TypeField and Description
private String
public static final String
private static String
private String
private static Constructor<T>
Inherited from org.springframework.asm.ClassVisitor:
apicv

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public byte[]
public void
visit(int
the class version. The minor version is stored in the 16 most significant bits, and the major version in the 16 least significant bits.
version
,
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
,
String
the internal name of the class (see Type#getInternalName()).
name
,
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
,
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
,
String[]
the internal names of the class's interfaces (see Type#getInternalName()). May be null.
interfaces
)

Overrides org.springframework.asm.ClassVisitor.visit.

Visits the header of the class.

Inherited from org.springframework.asm.ClassVisitor:
getDelegatevisitAnnotationvisitAttributevisitEndvisitFieldvisitInnerClassvisitMethodvisitModulevisitNestHostvisitNestMembervisitOuterClassvisitPermittedSubclassvisitRecordComponentvisitSourcevisitTypeAnnotation

Field Detail

classNameback to summary
private String className
DEBUG_LOCATION_PROPERTYback to summary
public static final String DEBUG_LOCATION_PROPERTY
debugLocationback to summary
private static String debugLocation
superNameback to summary
private String superName
traceCtorback to summary
private static Constructor<T> traceCtor

Constructor Detail

DebuggingClassWriterback to summary
public DebuggingClassWriter(int flags)

Method Detail

getClassNameback to summary
public String getClassName()
getSuperNameback to summary
public String getSuperName()
toByteArrayback to summary
public byte[] toByteArray()
visitback to summary
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)

Overrides org.springframework.asm.ClassVisitor.visit.

Doc from org.springframework.asm.ClassVisitor.visit.

Visits the header of the class.

Parameters
version:int

the class version. The minor version is stored in the 16 most significant bits, and the major version in the 16 least significant bits.

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.

Annotations
@Override