public static class SourceCodeAnalysis.Suggestion extends Object
| Constructor and Description |
|---|
Suggestion(String continuation,
boolean matchesType)
Create a
Suggestion instance. |
| Modifier and Type | Method and Description |
|---|---|
String |
continuation()
The candidate continuation of the given user's input.
|
boolean |
matchesType()
Indicates whether input continuation matches the target type and is thus
more likely to be the desired continuation.
|
public Suggestion(String continuation, boolean matchesType)
Suggestion instance.continuation - a candidate continuation of the user's inputmatchesType - does the candidate match the target typepublic String continuation()
public boolean matchesType()
true if this suggested continuation matches the
target type; otherwise false
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-06-24-123359.doko.src