Package org.candle.decompiler.ast

Examples of org.candle.decompiler.ast.ClassBlock


 
  public ClassIntermediateVisitor(JavaClass javaClass) {
    this.javaClass = javaClass;
    this.constantPool = new ConstantPoolGen(javaClass.getConstantPool());
   
    this.classBlock = new ClassBlock(javaClass);
  }
View Full Code Here


  public void decompile(JavaClass clz, Writer writer) throws DecompilerException {
    Validate.notNull(clz, "Class is required, but not provided.");
    Validate.notNull(writer, "Writer is required, but not provided.");
   
    ClassIntermediateVisitor civ = new ClassIntermediateVisitor(clz);
    ClassBlock classBlock = civ.decompile();

    try {
      classBlock.write(writer);
    } catch (IOException e) {
      throw new DecompilerException("Exception while decompiling.", e);
    }
    LOG.debug("Completed decompilation.");
  }
View Full Code Here

TOP

Related Classes of org.candle.decompiler.ast.ClassBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.