Class ClassBuilding


  • public final class ClassBuilding
    extends Object
    Entry-point for building enhanced classes and 'fast-class' invocation.
    Author:
    mcculls@gmail.com (Stuart McCulloch)
    • Method Detail

      • signature

        public static String signature​(Constructor<?> constructor)
        Minimum signature needed to disambiguate constructors from the same host class.
      • signature

        public static String signature​(Method method)
        Minimum signature needed to disambiguate methods from the same host class.
      • canEnhance

        public static boolean canEnhance​(Executable member)
        Returns true if the given member can be enhanced using bytecode.
      • buildEnhancerBuilder

        public static BytecodeGen.EnhancerBuilder buildEnhancerBuilder​(Class<?> hostClass)
        Builder of enhancers that provide method interception via bytecode generation.
      • canFastInvoke

        public static boolean canFastInvoke​(Executable member)
        Returns true if the given member can be fast-invoked.