All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.windup.decompiler.procyon.ProcyonConfiguration Maven / Gradle / Ivy

There is a newer version: 6.3.9.Final
Show newest version
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy