限定符和类型 | 字段和说明 |
---|---|
protected Map<String,FastMethod> |
constructors |
protected Map<String,FastMethod> |
fields |
protected Class<?> |
klass |
protected Map<String,FastMethod> |
methods |
构造器和说明 |
---|
FastClassImpl(Class<?> klass,
Map<String,FastMethod> constructors,
Map<String,FastMethod> methods,
Map<String,FastMethod> fields) |
限定符和类型 | 方法和说明 |
---|---|
Object |
born() |
Object |
born(Class<?>[] types,
Object... args) |
Object |
born(Constructor<?> constructor,
Object... args) |
FastMethod |
fast(Constructor<?> constructor) |
FastMethod |
fast(Method method) |
Object |
getField(Object obj,
String fieldName) |
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) |
protected Class<?> klass
protected Map<String,FastMethod> constructors
protected Map<String,FastMethod> methods
protected Map<String,FastMethod> fields
public FastClassImpl(Class<?> klass, Map<String,FastMethod> constructors, Map<String,FastMethod> methods, Map<String,FastMethod> fields)
public Object born(Constructor<?> constructor, Object... args)
public FastMethod fast(Method method)
public FastMethod fast(Constructor<?> constructor)
Copyright © 2017. All rights reserved.