限定符和类型 | 字段和说明 |
---|---|
protected Class<?> |
clazz |
protected Constructor<?>[] |
cs |
protected Class<?>[][] |
csTypes |
static Class<?>[] |
EMTRY_PARAM_TYPES |
protected Field[] |
fields |
protected String[] |
methodNames |
protected Method[] |
methods |
protected Class<?>[][] |
methodTypes |
构造器和说明 |
---|
AbstractFastClass(Class<?> clazz,
Constructor<?>[] cs,
Method[] methods,
Field[] fields) |
限定符和类型 | 方法和说明 |
---|---|
protected Object |
_born(int index,
Object... args) |
protected Object |
_invoke(Object obj,
int index,
Object... args) |
Object |
born() |
Object |
born(Class<?>[] types,
Object... args) |
Object |
born(Constructor<?> constructor,
Object... args) |
protected Constructor<?>[] |
getConstructors() |
Object |
getField(Object obj,
String fieldName) |
protected Class<?> |
getSrcClass() |
Object |
invoke(Object obj,
Method method,
Object... args) |
Object |
invoke(Object obj,
String methodName,
Class<?>[] types,
Object... args) |
Object |
setField(Object obj,
String fieldName,
Object value) |
public static final Class<?>[] EMTRY_PARAM_TYPES
protected Class<?> clazz
protected Constructor<?>[] cs
protected Method[] methods
protected Field[] fields
protected Class<?>[][] csTypes
protected Class<?>[][] methodTypes
protected String[] methodNames
public AbstractFastClass(Class<?> clazz, Constructor<?>[] cs, Method[] methods, Field[] fields)
public Object born(Constructor<?> constructor, Object... args)
protected Constructor<?>[] getConstructors()
protected Class<?> getSrcClass()
Copyright © 2016. All rights reserved.