- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.reflect.WrappedClassImplements
-
public class WrappedClassImplements extends Object
Wrapped Abstract class.- 从以下版本开始:
- 2.8
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
WrappedClassImplements.MethodWrapperType
-
字段概要
字段 修饰符和类型 字段 说明 static int
MATCH_STATE_CAN_OVERRIDE
static int
MATCH_STATE_CANNOT_SET
static int
MATCH_STATE_SAME
-
构造器概要
构造器 构造器 说明 WrappedClassImplements()
-
方法概要
修饰符和类型 方法 说明 static org.objectweb.asm.ClassWriter
AbstractClassInstance(String path, Class<?> source)
Fast create abstract class implementstatic org.objectweb.asm.ClassWriter
createMethodWrapper(@NotNull Class<?> lambda_interface, @Nullable String proxy_name, @NotNull Method target)
static org.objectweb.asm.ClassWriter
createMethodWrapper(@NotNull Class<?> lambda_interface, @Nullable String proxy_name, @NotNull String target_internal_source_class_name, @NotNull String target_method_name, @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
static org.objectweb.asm.ClassWriter
createMethodWrapper(@NotNull Method interface_method, @Nullable String proxy_name, @NotNull Method target_method)
static org.objectweb.asm.ClassWriter
createMethodWrapper(@NotNull String interface_, @NotNull String interface_method_name, @NotNull String interface_method_desc, @Nullable String proxy_name, @NotNull String target_internal_source_class_name, @NotNull String target_method_name, @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
static org.objectweb.asm.ClassWriter
createMethodWrapper(@NotNull String interface_, @NotNull String interface_method_name, @NotNull String interface_method_desc, @Nullable String proxy_name, @NotNull String target_internal_source_class_name, @NotNull String target_method_name, @Nullable String target_method_desc, @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
static org.objectweb.asm.ClassWriter
doImplement(Class<?> own)
static String
genImplementClassName(String name)
General implement namestatic String
genImplementClassName(String package_, String name)
General Implement Internal Class Namestatic Method
getLambdaInterfaceMethod(@NotNull Class<?> lambda_interface)
static int
getMatchState(@NotNull org.objectweb.asm.Type source, @NotNull org.objectweb.asm.Type target)
static Class<?>
getRootAbstractClass(Class<?> own)
static void
publicObjectConstructor(org.objectweb.asm.ClassVisitor visitor, String superClass)
Create a default constructor.static int
putTypeInsn(Class<?> type, int slot, boolean isReturn, org.objectweb.asm.MethodVisitor visitor)
static int
putTypeInsn(org.objectweb.asm.Type type, int slot, boolean isReturn, org.objectweb.asm.MethodVisitor visitor)
-
-
-
方法详细资料
-
putTypeInsn
public static int putTypeInsn(Class<?> type, int slot, boolean isReturn, org.objectweb.asm.MethodVisitor visitor)
-
putTypeInsn
public static int putTypeInsn(org.objectweb.asm.Type type, int slot, boolean isReturn, org.objectweb.asm.MethodVisitor visitor)
-
AbstractClassInstance
public static org.objectweb.asm.ClassWriter AbstractClassInstance(String path, Class<?> source)
Fast create abstract class implement- 参数:
path
- The implement namesource
- The class source- 返回:
- The implement class
- 从以下版本开始:
- 2.11
-
doImplement
public static org.objectweb.asm.ClassWriter doImplement(Class<?> own)
-
publicObjectConstructor
public static void publicObjectConstructor(org.objectweb.asm.ClassVisitor visitor, String superClass)
Create a default constructor.- 参数:
visitor
- The visitor need created.superClass
- The super class. need internal format- 从以下版本开始:
- 2.9
-
genImplementClassName
public static String genImplementClassName(String package_, String name)
General Implement Internal Class Name- 参数:
package_
- The package general.name
- The full class name.- 返回:
- General class name.
- 从以下版本开始:
- 2.9
-
genImplementClassName
public static String genImplementClassName(String name)
General implement name- 参数:
name
- The full class name- 返回:
- Internal class name.
-
createMethodWrapper
public static org.objectweb.asm.ClassWriter createMethodWrapper(@NotNull @NotNull Method interface_method, @Nullable @Nullable String proxy_name, @NotNull @NotNull Method target_method)
-
getLambdaInterfaceMethod
public static Method getLambdaInterfaceMethod(@NotNull @NotNull Class<?> lambda_interface)
-
createMethodWrapper
public static org.objectweb.asm.ClassWriter createMethodWrapper(@NotNull @NotNull Class<?> lambda_interface, @Nullable @Nullable String proxy_name, @NotNull @NotNull Method target)
-
createMethodWrapper
public static org.objectweb.asm.ClassWriter createMethodWrapper(@NotNull @NotNull Class<?> lambda_interface, @Nullable @Nullable String proxy_name, @NotNull @NotNull String target_internal_source_class_name, @NotNull @NotNull String target_method_name, @NotNull @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
-
createMethodWrapper
public static org.objectweb.asm.ClassWriter createMethodWrapper(@NotNull @NotNull String interface_, @NotNull @NotNull String interface_method_name, @NotNull @NotNull String interface_method_desc, @Nullable @Nullable String proxy_name, @NotNull @NotNull String target_internal_source_class_name, @NotNull @NotNull String target_method_name, @NotNull @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
-
getMatchState
public static int getMatchState(@NotNull @NotNull org.objectweb.asm.Type source, @NotNull @NotNull org.objectweb.asm.Type target)
-
createMethodWrapper
public static org.objectweb.asm.ClassWriter createMethodWrapper(@NotNull @NotNull String interface_, @NotNull @NotNull String interface_method_name, @NotNull @NotNull String interface_method_desc, @Nullable @Nullable String proxy_name, @NotNull @NotNull String target_internal_source_class_name, @NotNull @NotNull String target_method_name, @Nullable @Nullable String target_method_desc, @NotNull @NotNull WrappedClassImplements.MethodWrapperType wrapper_type)
-
-