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 int
private static final String
private static final org.objectweb.asm.Type
private static final String
private Map
private static final org.objectweb.asm.Type
private static final Signature
private static final Signature
private static final Signature
private static final Signature
private static final Signature
private static final Signature
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin_class
(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String sourceFile) void
declare_field
(int access, String name, org.objectweb.asm.Type type, Object value) void
private void
generate()
private void
getByIndex
(String[] names, int[] indexes) private void
private void
getNames()
private void
getTypes()
private void
initFieldProvider
(String[] names) private void
setByIndex
(String[] names, int[] indexes) private void
Methods inherited from class net.sf.cglib.core.ClassEmitter
begin_method, begin_static, 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
-
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_class
in classClassEmitter
-
declare_field
- Overrides:
declare_field
in classClassEmitter
-
end_class
public void end_class()- Overrides:
end_class
in 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
-