Top Inners Fields Constructors Methods
org.springframework.cglib.reflect

pack-priv Class FastClassEmitter

extends ClassEmitter
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked, deprecation
Imports
java.lang.reflect.Method, java.util.ArrayList, .Arrays, .HashMap, .Iterator, .List, .Map, org.springframework.asm.ClassVisitor, .Label, .Type, org.springframework.cglib.core.Block, .ClassEmitter, .CodeEmitter, .CollectionUtils, .Constants, .DuplicatesPredicate, .EmitUtils, .MethodInfo, .MethodInfoTransformer, .ObjectSwitchCallback, .ProcessSwitchCallback, .ReflectUtils, .Signature, .TypeUtils, .VisibilityPredicate

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final Signature
private static final Signature
private static final Type
private static final Signature
private static final Signature
private static final Type
private static final Type
private static final Type[]
private static final Signature
private static final Signature
private static final Signature
private static final Signature
private static final Signature
private static final int

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
private void
private void
private static int[]
getIntRange(int length)

private static void
invokeSwitchHelper(final CodeEmitter e, List<E> members, final int arg, final Type base)

private void
signatureSwitchHelper(final CodeEmitter e, final List<E> signatures)

Inherited from org.springframework.cglib.core.ClassEmitter:
begin_classbegin_methodbegin_staticdeclare_fieldend_classgetAccessgetClassInfogetClassTypegetStaticHookgetSuperTypeinitsetTargetvisitvisitEndvisitFieldvisitMethod

Field Detail

CONSTRUCTOR_GET_INDEXback to summary
private static final Signature CONSTRUCTOR_GET_INDEX
CSTRUCT_CLASSback to summary
private static final Signature CSTRUCT_CLASS
FAST_CLASSback to summary
private static final Type FAST_CLASS
GET_MAX_INDEXback to summary
private static final Signature GET_MAX_INDEX
GET_SIGNATURE_WITHOUT_RETURN_TYPEback to summary
private static final Signature GET_SIGNATURE_WITHOUT_RETURN_TYPE
ILLEGAL_ARGUMENT_EXCEPTIONback to summary
private static final Type ILLEGAL_ARGUMENT_EXCEPTION
INVOCATION_TARGET_EXCEPTIONback to summary
private static final Type INVOCATION_TARGET_EXCEPTION
INVOCATION_TARGET_EXCEPTION_ARRAYback to summary
private static final Type[] INVOCATION_TARGET_EXCEPTION_ARRAY
INVOKEback to summary
private static final Signature INVOKE
METHOD_GET_INDEXback to summary
private static final Signature METHOD_GET_INDEX
NEW_INSTANCEback to summary
private static final Signature NEW_INSTANCE
SIGNATURE_GET_INDEXback to summary
private static final Signature SIGNATURE_GET_INDEX
TO_STRINGback to summary
private static final Signature TO_STRING
TOO_MANY_METHODSback to summary
private static final int TOO_MANY_METHODS

Constructor Detail

FastClassEmitterback to summary
public FastClassEmitter(ClassVisitor v, String className, Class<T> type)

Method Detail

emitIndexByClassArrayback to summary
private void emitIndexByClassArray(List<E> methods)
emitIndexBySignatureback to summary
private void emitIndexBySignature(List<E> methods)
getIntRangeback to summary
private static int[] getIntRange(int length)
invokeSwitchHelperback to summary
private static void invokeSwitchHelper(final CodeEmitter e, List<E> members, final int arg, final Type base)
signatureSwitchHelperback to summary
private void signatureSwitchHelper(final CodeEmitter e, final List<E> signatures)
org.springframework.cglib.reflect back to summary

private Class FastClassEmitter.GetIndexCallback

extends Object
implements ObjectSwitchCallback
Class Inheritance
  • java.lang.Object
  • org.springframework.cglib.reflect.FastClassEmitter.GetIndexCallback
All Implemented Interfaces
org.springframework.cglib.core.ObjectSwitchCallback

Field Summary

Modifier and TypeField and Description
private CodeEmitter
e

private Map<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

eback to summary
private CodeEmitter e
indexesback to summary
private Map<K, V> indexes

Constructor Detail

GetIndexCallbackback to summary
public GetIndexCallback(CodeEmitter e, List<E> methods)

Method Detail

processCaseback to summary
public void processCase(Object key, Label end)

Implements org.springframework.cglib.core.ObjectSwitchCallback.processCase.

Annotations
@Override
processDefaultback to summary
public void processDefault()

Implements org.springframework.cglib.core.ObjectSwitchCallback.processDefault.

Annotations
@Override