Package org.benf.cfr.reader.bytecode
Class RecoveryOption<T>
java.lang.Object
org.benf.cfr.reader.bytecode.RecoveryOption<T>
- Direct Known Subclasses:
RecoveryOption.BooleanRO
,RecoveryOption.ConditionalRO
,RecoveryOption.IntRO
,RecoveryOption.TrooleanRO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PermittedOptionProvider.Argument<T>
(package private) final UnaryFunction<BytecodeMeta,
Boolean> private final DecompilerComment
protected final T
-
Constructor Summary
ConstructorsConstructorDescriptionRecoveryOption
(PermittedOptionProvider.Argument<T> arg, T value, UnaryFunction<BytecodeMeta, Boolean> canHelp, DecompilerComment comment) -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
apply
(MutableOptions mutableOptions, List<DecompilerComment> commentList, BytecodeMeta bytecodeMeta) (package private) boolean
applyComment
(boolean applied, List<DecompilerComment> commentList)
-
Field Details
-
canhelp
-
arg
-
value
-
decompilerComment
-
-
Constructor Details
-
RecoveryOption
RecoveryOption(PermittedOptionProvider.Argument<T> arg, T value, UnaryFunction<BytecodeMeta, Boolean> canHelp, DecompilerComment comment)
-
-
Method Details
-
applyComment
-
apply
public abstract boolean apply(MutableOptions mutableOptions, List<DecompilerComment> commentList, BytecodeMeta bytecodeMeta)
-