Package com.strobel.decompiler
Class DecompilerSettings
- java.lang.Object
-
- com.strobel.decompiler.DecompilerSettings
-
public class DecompilerSettings extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DecompilerSettings()
-
Method Summary
-
-
-
Field Detail
-
_typeLoader
private ITypeLoader _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
private JavaFormattingOptions _javaFormattingOptions
-
_bytecodeOutputOptions
private BytecodeOutputOptions _bytecodeOutputOptions
-
_language
private Language _language
-
_outputFileHeaderText
private java.lang.String _outputFileHeaderText
-
_outputDirectory
private java.lang.String _outputDirectory
-
_showDebugLineNumbers
private boolean _showDebugLineNumbers
-
_simplifyMemberReferences
private boolean _simplifyMemberReferences
-
_textBlockLineMinimum
private int _textBlockLineMinimum
-
_forcedCompilerTarget
private CompilerTarget _forcedCompilerTarget
-
_arePreviewFeaturesEnabled
private boolean _arePreviewFeaturesEnabled
-
-
Method Detail
-
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
public final java.lang.String getOutputFileHeaderText()
-
setOutputFileHeaderText
public final void setOutputFileHeaderText(java.lang.String outputFileHeaderText)
-
getTypeLoader
public final ITypeLoader getTypeLoader()
-
setTypeLoader
public final void setTypeLoader(ITypeLoader typeLoader)
-
getLanguage
public final Language getLanguage()
-
setLanguage
public final void setLanguage(Language language)
-
getShowSyntheticMembers
public final boolean getShowSyntheticMembers()
-
setShowSyntheticMembers
public final void setShowSyntheticMembers(boolean showSyntheticMembers)
-
getJavaFormattingOptions
public final JavaFormattingOptions getJavaFormattingOptions()
-
setJavaFormattingOptions
public final void setJavaFormattingOptions(JavaFormattingOptions javaFormattingOptions)
-
getBytecodeOutputOptions
public final BytecodeOutputOptions getBytecodeOutputOptions()
-
setBytecodeOutputOptions
public final void setBytecodeOutputOptions(BytecodeOutputOptions bytecodeOutputOptions)
-
getAlwaysGenerateExceptionVariableForCatchBlocks
public final boolean getAlwaysGenerateExceptionVariableForCatchBlocks()
-
setAlwaysGenerateExceptionVariableForCatchBlocks
public final void setAlwaysGenerateExceptionVariableForCatchBlocks(boolean value)
-
getOutputDirectory
public final java.lang.String getOutputDirectory()
-
setOutputDirectory
public final void setOutputDirectory(java.lang.String outputDirectory)
-
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
public final CompilerTarget getForcedCompilerTarget()
-
setForcedCompilerTarget
public final void setForcedCompilerTarget(CompilerTarget forcedCompilerTarget)
-
arePreviewFeaturesEnabled
public final boolean arePreviewFeaturesEnabled()
-
setPreviewFeaturesEnabled
public final void setPreviewFeaturesEnabled(boolean arePreviewFeaturesEnabled)
-
javaDefaults
public static DecompilerSettings javaDefaults()
-
-