类的使用
org.beetl.ow2.asm.commons.Method
使用Method的程序包
-
org.beetl.ow2.asm.commons中Method的使用
修饰符和类型方法说明static MethodMethod.getMethod(Constructor<?> c) Creates a newMethod.static MethodCreates a newMethod.static MethodReturns aMethodcorresponding to the given Java method declaration.static MethodReturns aMethodcorresponding to the given Java method declaration.参数类型为Method的org.beetl.ow2.asm.commons中的方法修饰符和类型方法说明voidGeneratorAdapter.invokeConstructor(Type type, Method method) Generates the instruction to invoke a constructor.voidGeneratorAdapter.invokeInterface(Type owner, Method method) Generates the instruction to invoke an interface method.voidGeneratorAdapter.invokeStatic(Type owner, Method method) Generates the instruction to invoke a static method.voidGeneratorAdapter.invokeVirtual(Type owner, Method method) Generates the instruction to invoke a normal method.参数类型为Method的org.beetl.ow2.asm.commons中的构造器限定符构造器说明GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv) Creates a newGeneratorAdapter.GeneratorAdapter(int access, Method method, MethodVisitor mv) Creates a newGeneratorAdapter.