org.jboss.windup.decompiler.procyon.ProcyonConfiguration Maven / Gradle / Ivy
package org.jboss.windup.decompiler.procyon;
import java.util.EnumSet;
import com.strobel.decompiler.DecompilerSettings;
/**
* Procyon-specific configuration.
*
* @author Ondrej Zizka
* @author Lincoln Baxter, III
*/
public class ProcyonConfiguration {
private DecompilerSettings decompilerSettings = new DecompilerSettings();
private EnumSet lineNumberOptions = EnumSet
.noneOf(LineNumberFormatter.LineNumberOption.class);
private boolean includeNested = true;
public boolean isIncludeNested() {
return includeNested;
}
public ProcyonConfiguration setIncludeNested(boolean includeNested) {
this.includeNested = includeNested;
return this;
}
public DecompilerSettings getDecompilerSettings() {
return decompilerSettings;
}
public ProcyonConfiguration setDecompilerSettings(DecompilerSettings decompilerSettings) {
this.decompilerSettings = decompilerSettings;
return this;
}
public EnumSet getLineNumberOptions() {
return lineNumberOptions;
}
public ProcyonConfiguration setLineNumberOptions(EnumSet lineNumberOptions) {
this.lineNumberOptions = lineNumberOptions;
return this;
}
}