Class SafeClassWriter


  • public class SafeClassWriter
    extends org.objectweb.asm.ClassWriter
    A ClassWriter that computes the common super class of two classes without actually loading them with a ClassLoader.
    Author:
    Eric Bruneton
    • Field Summary

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

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

        api, cv
    • Constructor Summary

      Constructors 
      Constructor Description
      SafeClassWriter​(org.objectweb.asm.ClassReader cr, ClassLoader loader, int flags)  
    • Method Summary

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

        getClassLoader, hasFlags, 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, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
      • Methods inherited from class org.objectweb.asm.ClassVisitor

        getDelegate
    • Constructor Detail

      • SafeClassWriter

        public SafeClassWriter​(org.objectweb.asm.ClassReader cr,
                               ClassLoader loader,
                               int flags)
    • Method Detail

      • getCommonSuperClass

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