Class BCELifier

  • All Implemented Interfaces:
    Visitor

    public class BCELifier
    extends EmptyVisitor
    This class takes a given JavaClass object and converts it to a Java program that creates that very class using BCEL. This gives new users of BCEL a useful example showing how things are done with BCEL. It does not cover all features of BCEL, but tries to mimic hand-written code as close as possible.
    Version:
    $Id: BCELifier.java 394938 2006-04-18 13:23:09Z tcurdt $
    Author:
    M. Dahm
    • Constructor Detail

      • BCELifier

        public BCELifier​(JavaClass clazz,
                         java.io.OutputStream out)
        Parameters:
        clazz - Java class to "decompile"
        out - where to output Java program