Class SubclassBytecodeGenerator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private net.bytebuddy.ByteBuddy byteBuddy  
      private static java.lang.String CODEGEN_PACKAGE  
      private net.bytebuddy.implementation.Implementation dispatcher  
      private net.bytebuddy.implementation.Implementation equals  
      private net.bytebuddy.implementation.Implementation hashCode  
      private SubclassLoader loader  
      private net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher  
      private java.util.Random random  
      private net.bytebuddy.implementation.Implementation readReplace  
      private net.bytebuddy.implementation.Implementation writeReplace  
    • Field Detail

      • byteBuddy

        private final net.bytebuddy.ByteBuddy byteBuddy
      • random

        private final java.util.Random random
      • readReplace

        private final net.bytebuddy.implementation.Implementation readReplace
      • matcher

        private final net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher
      • dispatcher

        private final net.bytebuddy.implementation.Implementation dispatcher
      • hashCode

        private final net.bytebuddy.implementation.Implementation hashCode
      • equals

        private final net.bytebuddy.implementation.Implementation equals
      • writeReplace

        private final net.bytebuddy.implementation.Implementation writeReplace
    • Constructor Detail

      • SubclassBytecodeGenerator

        public SubclassBytecodeGenerator()
      • SubclassBytecodeGenerator

        public SubclassBytecodeGenerator​(SubclassLoader loader)
      • SubclassBytecodeGenerator

        public SubclassBytecodeGenerator​(net.bytebuddy.implementation.Implementation readReplace,
                                         net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher)
      • SubclassBytecodeGenerator

        protected SubclassBytecodeGenerator​(SubclassLoader loader,
                                            net.bytebuddy.implementation.Implementation readReplace,
                                            net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher)
    • Method Detail

      • isGroovyMethod

        private static net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription> isGroovyMethod()
      • nameFor

        private java.lang.String nameFor​(java.lang.Class<?> type)
      • isComingFromJDK

        private boolean isComingFromJDK​(java.lang.Class<?> type)
      • isComingFromSealedPackage

        private boolean isComingFromSealedPackage​(java.lang.Class<?> type)
      • isComingFromSignedJar

        private boolean isComingFromSignedJar​(java.lang.Class<?> type)
      • assertVisibility

        private static void assertVisibility​(java.lang.Class<?> type)