程序包 | 说明 |
---|---|
org.nutz.lang.reflect |
反射有点慢?
|
org.nutz.repo.org.objectweb.asm.commons |
限定符和类型 | 字段和说明 |
---|---|
protected static Method |
FastMethodFactory._M |
限定符和类型 | 方法和说明 |
---|---|
static Method |
FastMethodFactory._Method(Method method) |
static Method |
FastMethodFactory._Method(String method) |
static Method |
FastMethodFactory._Method(String name,
String desc) |
限定符和类型 | 方法和说明 |
---|---|
static byte[] |
FastMethodFactory._make(Class<?> klass,
int mod,
Class<?>[] params,
Method method,
Class<?> returnType,
String className,
String descriptor)
生成两种FastClass实例: 创建对象, 和执行普通方法的.
|
static void |
FastMethodFactory.addConstructor(ClassWriter cw,
Type parent,
Method m) |
限定符和类型 | 方法和说明 |
---|---|
static Method |
Method.getMethod(Constructor<?> c)
Creates a new
Method . |
static Method |
Method.getMethod(Method m)
Creates a new
Method . |
static Method |
Method.getMethod(String method)
Returns a
Method corresponding to the given Java method
declaration. |
static Method |
Method.getMethod(String method,
boolean defaultPackage)
Returns a
Method corresponding to the given Java method
declaration. |
限定符和类型 | 方法和说明 |
---|---|
void |
GeneratorAdapter.invokeConstructor(Type type,
Method method)
Generates the instruction to invoke a constructor.
|
void |
GeneratorAdapter.invokeInterface(Type owner,
Method method)
Generates the instruction to invoke an interface method.
|
void |
GeneratorAdapter.invokeStatic(Type owner,
Method method)
Generates the instruction to invoke a static method.
|
void |
GeneratorAdapter.invokeVirtual(Type owner,
Method method)
Generates the instruction to invoke a normal method.
|
构造器和说明 |
---|
GeneratorAdapter(int access,
Method method,
MethodVisitor mv)
Creates a new
GeneratorAdapter . |
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter . |
Copyright © 2017. All rights reserved.