javax.annotation.processing
Class Completions.SimpleCompletion
java.lang.Object
javax.annotation.processing.Completions.SimpleCompletion
- All Implemented Interfaces:
- Completion
- Enclosing class:
- Completions
private static class Completions.SimpleCompletion
- extends java.lang.Object
- implements Completion
|
Field Summary |
private java.lang.String |
message
|
private java.lang.String |
value
|
|
Method Summary |
java.lang.String |
getMessage()
Returns an informative message about the completion. |
java.lang.String |
getValue()
Returns the text of the suggested completion. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
private java.lang.String value
message
private java.lang.String message
Completions.SimpleCompletion
Completions.SimpleCompletion(java.lang.String value,
java.lang.String message)
getValue
public java.lang.String getValue()
- Description copied from interface:
Completion
- Returns the text of the suggested completion.
- Specified by:
getValue in interface Completion
- Returns:
- the text of the suggested completion.
getMessage
public java.lang.String getMessage()
- Description copied from interface:
Completion
- Returns an informative message about the completion.
- Specified by:
getMessage in interface Completion
- Returns:
- an informative message about the completion.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object