类 Mixin


  • public abstract class Mixin
    extends Object
    Mixin
    • 方法详细资料

      • mixin

        public static Mixin mixin(Class<?>[] ics,
                                  Class<?> dc)
        mixin interface and delegates. all class must be public.
        参数:
        ics - interface class array.
        dc - delegate class.
        返回:
        Mixin instance.
      • mixin

        public static Mixin mixin(Class<?>[] ics,
                                  Class<?> dc,
                                  ClassLoader cl)
        mixin interface and delegates. all class must be public.
        参数:
        ics - interface class array.
        dc - delegate class.
        cl - class loader.
        返回:
        Mixin instance.
      • mixin

        public static Mixin mixin(Class<?>[] ics,
                                  Class<?>[] dcs)
        mixin interface and delegates. all class must be public.
        参数:
        ics - interface class array.
        dcs - delegate class array.
        返回:
        Mixin instance.
      • mixin

        public static Mixin mixin(Class<?>[] ics,
                                  Class<?>[] dcs,
                                  ClassLoader cl)
        mixin interface and delegates. all class must be public.
        参数:
        ics - interface class array.
        dcs - delegate class array.
        cl - class loader.
        返回:
        Mixin instance.
      • newInstance

        public abstract Object newInstance(Object[] ds)
        new Mixin instance.
        参数:
        ds - delegates instance.
        返回:
        instance.