Class SafeClassWriter


  • public class SafeClassWriter
    extends org.objectweb.asm.ClassWriter
    ClassWriter с другой реализацией метода getCommonSuperClass: при его использовании не происходит загрузки классов.
    • Field Summary

      • Fields inherited from class org.objectweb.asm.ClassWriter

        COMPUTE_FRAMES, COMPUTE_MAXS
      • Fields inherited from class org.objectweb.asm.ClassVisitor

        api, cv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getCommonSuperClass​(java.lang.String type1, java.lang.String type2)  
      • Methods inherited from class org.objectweb.asm.ClassWriter

        getClassLoader, newClass, newConst, newConstantDynamic, newField, newHandle, newHandle, newInvokeDynamic, newMethod, newMethodType, newModule, newNameType, newPackage, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubtypeExperimental, visitRecordComponentExperimental, visitSource, visitTypeAnnotation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SafeClassWriter

        public SafeClassWriter​(ClassMetadataReader classMetadataReader,
                               int flags)
      • SafeClassWriter

        public SafeClassWriter​(org.objectweb.asm.ClassReader classReader,
                               ClassMetadataReader classMetadataReader,
                               int flags)
    • Method Detail

      • getCommonSuperClass

        protected java.lang.String getCommonSuperClass​(java.lang.String type1,
                                                       java.lang.String type2)
        Overrides:
        getCommonSuperClass in class org.objectweb.asm.ClassWriter