Package com.strobel.decompiler
Class DecompilerSettings
java.lang.Object
com.strobel.decompiler.DecompilerSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private BytecodeOutputOptions
private boolean
private boolean
private boolean
private CompilerTarget
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private JavaFormattingOptions
private Language
private boolean
private String
private String
private boolean
private boolean
private boolean
private boolean
private boolean
private int
private ITypeLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
final BytecodeOutputOptions
final boolean
final boolean
final boolean
final CompilerTarget
final boolean
final boolean
final boolean
final boolean
final boolean
final JavaFormattingOptions
final Language
final boolean
final String
final String
final boolean
final boolean
final boolean
final boolean
final boolean
final int
final ITypeLoader
final boolean
static DecompilerSettings
final void
setAlwaysGenerateExceptionVariableForCatchBlocks
(boolean value) final void
setBytecodeOutputOptions
(BytecodeOutputOptions bytecodeOutputOptions) final void
setDisableForEachTransforms
(boolean disableForEachTransforms) final void
setExcludeNestedTypes
(boolean excludeNestedTypes) final void
setFlattenSwitchBlocks
(boolean flattenSwitchBlocks) final void
setForcedCompilerTarget
(CompilerTarget forcedCompilerTarget) final void
setForceExplicitImports
(boolean forceExplicitImports) final void
setForceExplicitTypeArguments
(boolean forceExplicitTypeArguments) final void
setForceFullyQualifiedReferences
(boolean forceFullyQualifiedReferences) final void
setIncludeErrorDiagnostics
(boolean value) final void
setIncludeLineNumbersInBytecode
(boolean value) final void
setJavaFormattingOptions
(JavaFormattingOptions javaFormattingOptions) final void
setLanguage
(Language language) final void
setMergeVariables
(boolean mergeVariables) final void
setOutputDirectory
(String outputDirectory) final void
setOutputFileHeaderText
(String outputFileHeaderText) final void
setPreviewFeaturesEnabled
(boolean arePreviewFeaturesEnabled) final void
setRetainPointlessSwitches
(boolean retainPointlessSwitches) final void
setRetainRedundantCasts
(boolean retainRedundantCasts) final void
setShowDebugLineNumbers
(boolean showDebugLineNumbers) final void
setShowSyntheticMembers
(boolean showSyntheticMembers) final void
setSimplifyMemberReferences
(boolean simplifyMemberReferences) final void
setTextBlockLineMinimum
(int textBlockLineMinimum) final void
setTypeLoader
(ITypeLoader typeLoader) final void
setUnicodeOutputEnabled
(boolean unicodeOutputEnabled)
-
Field Details
-
_typeLoader
-
_includeLineNumbersInBytecode
private boolean _includeLineNumbersInBytecode -
_showSyntheticMembers
private boolean _showSyntheticMembers -
_alwaysGenerateExceptionVariableForCatchBlocks
private boolean _alwaysGenerateExceptionVariableForCatchBlocks -
_forceFullyQualifiedReferences
private boolean _forceFullyQualifiedReferences -
_forceExplicitImports
private boolean _forceExplicitImports -
_forceExplicitTypeArguments
private boolean _forceExplicitTypeArguments -
_flattenSwitchBlocks
private boolean _flattenSwitchBlocks -
_excludeNestedTypes
private boolean _excludeNestedTypes -
_retainRedundantCasts
private boolean _retainRedundantCasts -
_retainPointlessSwitches
private boolean _retainPointlessSwitches -
_isUnicodeOutputEnabled
private boolean _isUnicodeOutputEnabled -
_includeErrorDiagnostics
private boolean _includeErrorDiagnostics -
_mergeVariables
private boolean _mergeVariables -
_disableForEachTransforms
private boolean _disableForEachTransforms -
_javaFormattingOptions
-
_bytecodeOutputOptions
-
_language
-
_outputFileHeaderText
-
_outputDirectory
-
_showDebugLineNumbers
private boolean _showDebugLineNumbers -
_simplifyMemberReferences
private boolean _simplifyMemberReferences -
_textBlockLineMinimum
private int _textBlockLineMinimum -
_forcedCompilerTarget
-
_arePreviewFeaturesEnabled
private boolean _arePreviewFeaturesEnabled
-
-
Constructor Details
-
DecompilerSettings
public DecompilerSettings()
-
-
Method Details
-
getExcludeNestedTypes
public final boolean getExcludeNestedTypes() -
setExcludeNestedTypes
public final void setExcludeNestedTypes(boolean excludeNestedTypes) -
getFlattenSwitchBlocks
public final boolean getFlattenSwitchBlocks() -
setFlattenSwitchBlocks
public final void setFlattenSwitchBlocks(boolean flattenSwitchBlocks) -
getForceExplicitImports
public final boolean getForceExplicitImports() -
setForceExplicitImports
public final void setForceExplicitImports(boolean forceExplicitImports) -
getForceExplicitTypeArguments
public final boolean getForceExplicitTypeArguments() -
setForceExplicitTypeArguments
public final void setForceExplicitTypeArguments(boolean forceExplicitTypeArguments) -
getOutputFileHeaderText
-
setOutputFileHeaderText
-
getTypeLoader
-
setTypeLoader
-
getLanguage
-
setLanguage
-
getShowSyntheticMembers
public final boolean getShowSyntheticMembers() -
setShowSyntheticMembers
public final void setShowSyntheticMembers(boolean showSyntheticMembers) -
getJavaFormattingOptions
-
setJavaFormattingOptions
-
getBytecodeOutputOptions
-
setBytecodeOutputOptions
-
getAlwaysGenerateExceptionVariableForCatchBlocks
public final boolean getAlwaysGenerateExceptionVariableForCatchBlocks() -
setAlwaysGenerateExceptionVariableForCatchBlocks
public final void setAlwaysGenerateExceptionVariableForCatchBlocks(boolean value) -
getOutputDirectory
-
setOutputDirectory
-
getRetainRedundantCasts
public final boolean getRetainRedundantCasts() -
setRetainRedundantCasts
public final void setRetainRedundantCasts(boolean retainRedundantCasts) -
getIncludeErrorDiagnostics
public final boolean getIncludeErrorDiagnostics() -
setIncludeErrorDiagnostics
public final void setIncludeErrorDiagnostics(boolean value) -
getIncludeLineNumbersInBytecode
public final boolean getIncludeLineNumbersInBytecode() -
setIncludeLineNumbersInBytecode
public final void setIncludeLineNumbersInBytecode(boolean value) -
getRetainPointlessSwitches
public final boolean getRetainPointlessSwitches() -
setRetainPointlessSwitches
public final void setRetainPointlessSwitches(boolean retainPointlessSwitches) -
isUnicodeOutputEnabled
public final boolean isUnicodeOutputEnabled() -
setUnicodeOutputEnabled
public final void setUnicodeOutputEnabled(boolean unicodeOutputEnabled) -
getMergeVariables
public final boolean getMergeVariables() -
setMergeVariables
public final void setMergeVariables(boolean mergeVariables) -
setShowDebugLineNumbers
public final void setShowDebugLineNumbers(boolean showDebugLineNumbers) -
getShowDebugLineNumbers
public final boolean getShowDebugLineNumbers() -
getSimplifyMemberReferences
public final boolean getSimplifyMemberReferences() -
setSimplifyMemberReferences
public final void setSimplifyMemberReferences(boolean simplifyMemberReferences) -
getDisableForEachTransforms
public final boolean getDisableForEachTransforms() -
setDisableForEachTransforms
public final void setDisableForEachTransforms(boolean disableForEachTransforms) -
getForceFullyQualifiedReferences
public final boolean getForceFullyQualifiedReferences() -
setForceFullyQualifiedReferences
public final void setForceFullyQualifiedReferences(boolean forceFullyQualifiedReferences) -
getTextBlockLineMinimum
public final int getTextBlockLineMinimum() -
setTextBlockLineMinimum
public final void setTextBlockLineMinimum(int textBlockLineMinimum) -
getForcedCompilerTarget
-
setForcedCompilerTarget
-
arePreviewFeaturesEnabled
public final boolean arePreviewFeaturesEnabled() -
setPreviewFeaturesEnabled
public final void setPreviewFeaturesEnabled(boolean arePreviewFeaturesEnabled) -
javaDefaults
-