@Component public class ExpandOneDashToTwoDashesRecoveryStrategy extends StacktraceFingerprintingCompletionRecoveryStrategy<StreamDefinitionException>
parser| Constructor and Description |
|---|
ExpandOneDashToTwoDashesRecoveryStrategy(XDParser parser)
Construct a new ExpandOneDashToTwoDashesRecoveryStrategy given the parser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProposals(java.lang.String dsl,
StreamDefinitionException exception,
CompletionKind kind,
int detailLevel,
java.util.List<java.lang.String> proposals)
Perform code completion by adding proposals to the
proposals list. |
shouldTrigger@Autowired public ExpandOneDashToTwoDashesRecoveryStrategy(XDParser parser)
parser - The parser used to parse the text the user has already typed in.public void addProposals(java.lang.String dsl,
StreamDefinitionException exception,
CompletionKind kind,
int detailLevel,
java.util.List<java.lang.String> proposals)
CompletionRecoveryStrategyproposals list.