javax.annotation.processing
Class Completions.SimpleCompletion

java.lang.Object
  extended by 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
           
 
Constructor Summary
Completions.SimpleCompletion(java.lang.String value, java.lang.String message)
           
 
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
 

Field Detail

value

private java.lang.String value

message

private java.lang.String message
Constructor Detail

Completions.SimpleCompletion

Completions.SimpleCompletion(java.lang.String value,
                             java.lang.String message)
Method Detail

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