Package net.sf.cglib.transform.impl
Class FieldProviderTransformer
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.FieldProviderTransformer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final Stringprivate static final org.objectweb.asm.Typeprivate static final Stringprivate Mapprivate static final org.objectweb.asm.Typeprivate static final Signatureprivate static final Signatureprivate static final Signatureprivate static final Signatureprivate static final Signatureprivate static final SignatureFields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin_class(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String sourceFile) voiddeclare_field(int access, String name, org.objectweb.asm.Type type, Object value) voidprivate voidgenerate()private voidgetByIndex(String[] names, int[] indexes) private voidprivate voidgetNames()private voidgetTypes()private voidinitFieldProvider(String[] names) private voidsetByIndex(String[] names, int[] indexes) private voidMethods inherited from class net.sf.cglib.core.ClassEmitter
begin_method, begin_static, getAccess, getClassInfo, getClassType, getStaticHook, getSuperType, init, setTarget, visit, visitEnd, visitField, visitMethodMethods inherited from class org.objectweb.asm.ClassVisitor
visitAnnotation, visitAttribute, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
FIELD_NAMES
- See Also:
-
FIELD_TYPES
- See Also:
-
FIELD_PROVIDER
private static final org.objectweb.asm.Type FIELD_PROVIDER -
ILLEGAL_ARGUMENT_EXCEPTION
private static final org.objectweb.asm.Type ILLEGAL_ARGUMENT_EXCEPTION -
PROVIDER_GET
-
PROVIDER_SET
-
PROVIDER_SET_BY_INDEX
-
PROVIDER_GET_BY_INDEX
-
PROVIDER_GET_TYPES
-
PROVIDER_GET_NAMES
-
access
private int access -
fields
-
-
Constructor Details
-
FieldProviderTransformer
public FieldProviderTransformer()
-
-
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_classin classClassEmitter
-
declare_field
- Overrides:
declare_fieldin classClassEmitter
-
end_class
public void end_class()- Overrides:
end_classin classClassEmitter
-
generate
- Throws:
Exception
-
initFieldProvider
-
getNames
private void getNames() -
getTypes
private void getTypes() -
setByIndex
- Throws:
Exception
-
getByIndex
- Throws:
Exception
-
getField
- Throws:
Exception
-
setField
- Throws:
Exception
-