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 classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PermittedOptionProvider.Argument<T> (package private) final UnaryFunction<BytecodeMeta, Boolean> private final DecompilerCommentprotected final T -
Constructor Summary
ConstructorsConstructorDescriptionRecoveryOption(PermittedOptionProvider.Argument<T> arg, T value, UnaryFunction<BytecodeMeta, Boolean> canHelp, DecompilerComment comment) -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanapply(MutableOptions mutableOptions, List<DecompilerComment> commentList, BytecodeMeta bytecodeMeta) (package private) booleanapplyComment(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)
-