- Enclosing class:
- SourceCodeAnalysis
public static interface SourceCodeAnalysis.Suggestion
A candidate for continuation of the given user's input.
-
Method Summary
Modifier and Type Method Description Stringcontinuation()The candidate continuation of the given user's input.booleanmatchesType()Indicates whether input continuation matches the target type and is thus more likely to be the desired continuation.
-
Method Details
-
continuation
String continuation()The candidate continuation of the given user's input.- Returns:
- the continuation string
-
matchesType
boolean matchesType()Indicates whether input continuation matches the target type and is thus more likely to be the desired continuation. A matching continuation is preferred.- Returns:
trueif this suggested continuation matches the target type; otherwisefalse
-