类的使用
org.ssssssss.script.asm.Type
使用Type的程序包
-
org.ssssssss.script.asm中Type的使用
声明为Type的org.ssssssss.script.asm中的字段修饰符和类型字段说明static final TypeType.BOOLEAN_TYPEThebooleantype.static final TypeType.BYTE_TYPEThebytetype.static final TypeType.CHAR_TYPEThechartype.static final TypeType.DOUBLE_TYPEThedoubletype.static final TypeType.FLOAT_TYPEThefloattype.static final TypeType.INT_TYPETheinttype.static final TypeType.LONG_TYPEThelongtype.static final TypeType.SHORT_TYPETheshorttype.static final TypeType.VOID_TYPEThevoidtype.返回Type的org.ssssssss.script.asm中的方法修饰符和类型方法说明Type[]Type.getArgumentTypes()Returns the argument types of methods of this type.static Type[]Type.getArgumentTypes(Method method) Returns theTypevalues corresponding to the argument types of the given method.static Type[]Type.getArgumentTypes(String methodDescriptor) Returns theTypevalues corresponding to the argument types of the given method descriptor.Type.getElementType()Returns the type of the elements of this array type.static TypeType.getMethodType(String methodDescriptor) Returns theTypecorresponding to the given method descriptor.static TypeType.getMethodType(Type returnType, Type... argumentTypes) Returns the methodTypecorresponding to the given argument and return types.static TypeType.getObjectType(String internalName) Returns theTypecorresponding to the given internal name.Type.getReturnType()Returns the return type of methods of this type.static TypeType.getReturnType(Method method) Returns theTypecorresponding to the return type of the given method.static TypeType.getReturnType(String methodDescriptor) Returns theTypecorresponding to the return type of the given method descriptor.static TypeReturns theTypecorresponding to the given class.static TypeType.getType(Constructor<?> constructor) Returns the methodTypecorresponding to the given constructor.static TypeReturns the methodTypecorresponding to the given method.static TypeReturns theTypecorresponding to the given type descriptor.参数类型为Type的org.ssssssss.script.asm中的方法修饰符和类型方法说明static StringType.getMethodDescriptor(Type returnType, Type... argumentTypes) Returns the descriptor corresponding to the given argument and return types.static TypeType.getMethodType(Type returnType, Type... argumentTypes) Returns the methodTypecorresponding to the given argument and return types.