Class DecompilerSettings
java.lang.Object
com.strobel.decompiler.DecompilerSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate BytecodeOutputOptionsprivate booleanprivate booleanprivate booleanprivate CompilerTargetprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate JavaFormattingOptionsprivate Languageprivate booleanprivate Stringprivate Stringprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate intprivate ITypeLoader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleanfinal BytecodeOutputOptionsfinal booleanfinal booleanfinal booleanfinal CompilerTargetfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal JavaFormattingOptionsfinal Languagefinal booleanfinal Stringfinal Stringfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal intfinal ITypeLoaderfinal booleanstatic DecompilerSettingsfinal voidsetAlwaysGenerateExceptionVariableForCatchBlocks(boolean value) final voidsetBytecodeOutputOptions(BytecodeOutputOptions bytecodeOutputOptions) final voidsetDisableForEachTransforms(boolean disableForEachTransforms) final voidsetExcludeNestedTypes(boolean excludeNestedTypes) final voidsetFlattenSwitchBlocks(boolean flattenSwitchBlocks) final voidsetForcedCompilerTarget(CompilerTarget forcedCompilerTarget) final voidsetForceExplicitImports(boolean forceExplicitImports) final voidsetForceExplicitTypeArguments(boolean forceExplicitTypeArguments) final voidsetForceFullyQualifiedReferences(boolean forceFullyQualifiedReferences) final voidsetIncludeErrorDiagnostics(boolean value) final voidsetIncludeLineNumbersInBytecode(boolean value) final voidsetJavaFormattingOptions(JavaFormattingOptions javaFormattingOptions) final voidsetLanguage(Language language) final voidsetMergeVariables(boolean mergeVariables) final voidsetOutputDirectory(String outputDirectory) final voidsetOutputFileHeaderText(String outputFileHeaderText) final voidsetPreviewFeaturesEnabled(boolean arePreviewFeaturesEnabled) final voidsetRetainPointlessSwitches(boolean retainPointlessSwitches) final voidsetRetainRedundantCasts(boolean retainRedundantCasts) final voidsetShowDebugLineNumbers(boolean showDebugLineNumbers) final voidsetShowSyntheticMembers(boolean showSyntheticMembers) final voidsetSimplifyMemberReferences(boolean simplifyMemberReferences) final voidsetTextBlockLineMinimum(int textBlockLineMinimum) final voidsetTypeLoader(ITypeLoader typeLoader) final voidsetUnicodeOutputEnabled(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
-