Package jadx.api.plugins.options.impl
Class JadxOptionDescription
java.lang.Object
jadx.api.plugins.options.impl.JadxOptionDescription
- All Implemented Interfaces:
OptionDescription
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final Set<OptionFlag> private final Stringprivate final OptionType -
Constructor Summary
ConstructorsConstructorDescriptionJadxOptionDescription(String name, String desc, @Nullable String defaultValue, List<String> values, OptionType type) -
Method Summary
Modifier and TypeMethodDescriptionstatic JadxOptionDescriptionbooleanOption(String name, String desc, boolean defaultValue) @Nullable StringDefault value.getFlags()getType()name()toString()values()Possible values.withFlag(OptionFlag flag) withFlags(OptionFlag... flags)
-
Field Details
-
name
-
desc
-
defaultValue
-
values
-
type
-
flags
-
-
Constructor Details
-
JadxOptionDescription
-
JadxOptionDescription
-
-
Method Details
-
booleanOption
-
name
- Specified by:
namein interfaceOptionDescription
-
description
- Specified by:
descriptionin interfaceOptionDescription
-
defaultValue
Description copied from interface:OptionDescriptionDefault value. Null if required- Specified by:
defaultValuein interfaceOptionDescription
-
values
Description copied from interface:OptionDescriptionPossible values. Empty if not a limited set- Specified by:
valuesin interfaceOptionDescription
-
getType
- Specified by:
getTypein interfaceOptionDescription
-
getFlags
- Specified by:
getFlagsin interfaceOptionDescription
-
withFlag
-
withFlags
-
toString
-