public final class AssumptionExpression extends MessageContainer
MessageContainer.Messagetypes| Constructor and Description |
|---|
AssumptionExpression(SpecializationData source,
DSLExpression expression,
String id) |
| Modifier and Type | Method and Description |
|---|---|
DSLExpression |
getExpression() |
String |
getId() |
AnnotationMirror |
getMessageAnnotation() |
AnnotationValue |
getMessageAnnotationValue() |
Element |
getMessageElement() |
boolean |
needsCaching()
Returns true if the assumption needs to be cached in a field.
|
addError, addError, addError, addError, addWarning, addWarning, collectMessages, emitMessages, findChildContainers, getBaseContainer, getMessages, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesNotEnclosedIn, redirectMessagesOnGeneratedElementsclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AssumptionExpression(SpecializationData source, DSLExpression expression, String id)
public String getId()
public boolean needsCaching()
public Element getMessageElement()
getMessageElement in class MessageContainerpublic AnnotationMirror getMessageAnnotation()
getMessageAnnotation in class MessageContainerpublic AnnotationValue getMessageAnnotationValue()
getMessageAnnotationValue in class MessageContainerpublic DSLExpression getExpression()