Package net.sf.cglib.transform.impl
Class InterceptFieldTransformer
java.lang.Object
org.objectweb.asm.ClassVisitor
net.sf.cglib.transform.ClassTransformer
net.sf.cglib.core.ClassEmitter
net.sf.cglib.transform.ClassEmitterTransformer
net.sf.cglib.transform.impl.InterceptFieldTransformer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.objectweb.asm.Type
private static final String
private static final org.objectweb.asm.Type
private static final Signature
private static final Signature
private InterceptFieldFilter
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addReadMethod
(String name, org.objectweb.asm.Type type) private void
addWriteMethod
(String name, org.objectweb.asm.Type type) void
begin_class
(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String sourceFile) begin_method
(int access, Signature sig, org.objectweb.asm.Type[] exceptions) private static String
callbackName
(org.objectweb.asm.Type type) void
declare_field
(int access, String name, org.objectweb.asm.Type type, Object value) private static Signature
readCallbackSig
(org.objectweb.asm.Type type) private static Signature
readMethodSig
(String name, String desc) private static org.objectweb.asm.Type
remap
(org.objectweb.asm.Type type) private static Signature
writeCallbackSig
(org.objectweb.asm.Type type) private static Signature
writeMethodSig
(String name, String desc) Methods inherited from class net.sf.cglib.core.ClassEmitter
begin_static, end_class, getAccess, getClassInfo, getClassType, getStaticHook, getSuperType, init, setTarget, visit, visitEnd, visitField, visitMethod
Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAnnotation, visitAttribute, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
CALLBACK_FIELD
- See Also:
-
CALLBACK
private static final org.objectweb.asm.Type CALLBACK -
ENABLED
private static final org.objectweb.asm.Type ENABLED -
ENABLED_SET
-
ENABLED_GET
-
filter
-
-
Constructor Details
-
InterceptFieldTransformer
-
-
Method Details
-
begin_class
public void begin_class(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String sourceFile) - Overrides:
begin_class
in classClassEmitter
-
declare_field
- Overrides:
declare_field
in classClassEmitter
-
addReadMethod
-
addWriteMethod
-
begin_method
- Overrides:
begin_method
in classClassEmitter
-
readMethodSig
-
writeMethodSig
-
readCallbackSig
-
writeCallbackSig
-
remap
private static org.objectweb.asm.Type remap(org.objectweb.asm.Type type) -
callbackName
-