Examples of extractAST()


Examples of org.jreversepro.decompile.Decompiler.extractAST()

  public void processMethod(Method method) {
    DecompilationContext ctx = new DecompilationContext(method, clazz
        .getConstantPool());
    Decompiler decompiler = new Decompiler(ctx);
    Block block = decompiler.extractAST();
    SourceEmitter emitter = SourceEmitterFactory
        .getSourceEmitter(JLSSource.JDK14);
    outputString(emitter.emitCode(block));

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.