Top Fields Constructors Methods
org.springframework.cglib.beans

pack-priv Class BeanMapEmitter

extends ClassEmitter
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.beans.PropertyDescriptor, java.util.HashMap, .Iterator, .Map, org.springframework.asm.ClassVisitor, .Label, .Type, org.springframework.cglib.core.ClassEmitter, .CodeEmitter, .Constants, .EmitUtils, .MethodInfo, .ObjectSwitchCallback, .ReflectUtils, .Signature, .TypeUtils

Field Summary

Modifier and TypeField and Description
private static final Type
private static final Signature
private static final Signature
private static final Signature
private static final Signature
private static final Type
private static final Signature
private static final Signature
private static final Signature

Constructor Summary

AccessConstructor and Description
public
BeanMapEmitter(ClassVisitor v, String className, Class<T> type, int require)

Method Summary

Modifier and TypeMethod and Description
private void
private void
generateGet(Class<T> type, final Map<K, V> getters)

private void
generateGetPropertyType(final Map<K, V> allProps, String[] allNames)

private void
generateKeySet(String[] allNames)

private void
generatePut(Class<T> type, final Map<K, V> setters)

private String[]
getNames(Map<K, V> propertyMap)

private Map<K, V>
Inherited from org.springframework.cglib.core.ClassEmitter:
begin_classbegin_methodbegin_staticdeclare_fieldend_classgetAccessgetClassInfogetClassTypegetStaticHookgetSuperTypeinitsetTargetvisitvisitEndvisitFieldvisitMethod

Field Detail

BEAN_MAPback to summary
private static final Type BEAN_MAP
BEAN_MAP_GETback to summary
private static final Signature BEAN_MAP_GET
BEAN_MAP_PUTback to summary
private static final Signature BEAN_MAP_PUT
CSTRUCT_OBJECTback to summary
private static final Signature CSTRUCT_OBJECT
CSTRUCT_STRING_ARRAYback to summary
private static final Signature CSTRUCT_STRING_ARRAY
FIXED_KEY_SETback to summary
private static final Type FIXED_KEY_SET
GET_PROPERTY_TYPEback to summary
private static final Signature GET_PROPERTY_TYPE
KEY_SETback to summary
private static final Signature KEY_SET
NEW_INSTANCEback to summary
private static final Signature NEW_INSTANCE

Constructor Detail

BeanMapEmitterback to summary
public BeanMapEmitter(ClassVisitor v, String className, Class<T> type, int require)

Method Detail

generateConstructorback to summary
private void generateConstructor()
generateGetback to summary
private void generateGet(Class<T> type, final Map<K, V> getters)
generateGetPropertyTypeback to summary
private void generateGetPropertyType(final Map<K, V> allProps, String[] allNames)
generateKeySetback to summary
private void generateKeySet(String[] allNames)
generatePutback to summary
private void generatePut(Class<T> type, final Map<K, V> setters)
getNamesback to summary
private String[] getNames(Map<K, V> propertyMap)
makePropertyMapback to summary
private Map<K, V> makePropertyMap(PropertyDescriptor[] props)