类 WrappedClassImplements


  • public class WrappedClassImplements
    extends Object
    Wrapped Abstract class.
    从以下版本开始:
    2.8
    • 字段详细资料

      • MATCH_STATE_SAME

        public static final int MATCH_STATE_SAME
        另请参阅:
        常量字段值
      • MATCH_STATE_CAN_OVERRIDE

        public static final int MATCH_STATE_CAN_OVERRIDE
        另请参阅:
        常量字段值
      • MATCH_STATE_CANNOT_SET

        public static final int MATCH_STATE_CANNOT_SET
        另请参阅:
        常量字段值
    • 构造器详细资料

      • WrappedClassImplements

        public WrappedClassImplements()
    • 方法详细资料

      • getRootAbstractClass

        public static Class<?> getRootAbstractClass​(Class<?> own)
      • 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
                                                                        Method interface_method,
                                                                        @Nullable
                                                                        String proxy_name,
                                                                        @NotNull
                                                                        Method target_method)
      • getLambdaInterfaceMethod

        public static Method getLambdaInterfaceMethod​(@NotNull
                                                      Class<?> lambda_interface)
      • createMethodWrapper

        public static org.objectweb.asm.ClassWriter createMethodWrapper​(@NotNull
                                                                        Class<?> lambda_interface,
                                                                        @Nullable
                                                                        String proxy_name,
                                                                        @NotNull
                                                                        Method target)
      • createMethodWrapper

        public 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)
      • getMatchState

        public static int getMatchState​(@NotNull
                                        org.objectweb.asm.Type source,
                                        @NotNull
                                        org.objectweb.asm.Type target)
      • createMethodWrapper

        public 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)