public abstract class RecoveryOption<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RecoveryOption.BooleanRO |
static class |
RecoveryOption.ConditionalRO<X,T> |
static class |
RecoveryOption.IntRO |
static class |
RecoveryOption.TrooleanRO |
Modifier and Type | Field and Description |
---|---|
protected PermittedOptionProvider.Argument<T> |
arg |
(package private) UnaryFunction<BytecodeMeta,java.lang.Boolean> |
canhelp |
private DecompilerComment |
decompilerComment |
protected T |
value |
Constructor and Description |
---|
RecoveryOption(PermittedOptionProvider.Argument<T> arg,
T value,
UnaryFunction<BytecodeMeta,java.lang.Boolean> canHelp,
DecompilerComment comment) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(MutableOptions mutableOptions,
java.util.List<DecompilerComment> commentList,
BytecodeMeta bytecodeMeta) |
(package private) boolean |
applyComment(boolean applied,
java.util.List<DecompilerComment> commentList) |
final UnaryFunction<BytecodeMeta,java.lang.Boolean> canhelp
protected final PermittedOptionProvider.Argument<T> arg
protected final T value
private final DecompilerComment decompilerComment
RecoveryOption(PermittedOptionProvider.Argument<T> arg, T value, UnaryFunction<BytecodeMeta,java.lang.Boolean> canHelp, DecompilerComment comment)
boolean applyComment(boolean applied, java.util.List<DecompilerComment> commentList)
public abstract boolean apply(MutableOptions mutableOptions, java.util.List<DecompilerComment> commentList, BytecodeMeta bytecodeMeta)