public final class GuardExpression extends MessageContainer
MessageContainer.Messagetypes| Constructor and Description |
|---|
GuardExpression(SpecializationData source,
DSLExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
GuardExpression |
copy(SpecializationData newSpecialization) |
DSLExpression |
getExpression() |
AnnotationMirror |
getMessageAnnotation() |
AnnotationValue |
getMessageAnnotationValue() |
Element |
getMessageElement() |
boolean |
implies(GuardExpression other) |
boolean |
isConstantTrueInSlowPath(boolean uncached) |
boolean |
isFastPathIdempotent() |
boolean |
isLibraryAcceptsGuard() |
boolean |
isWeakReferenceGuard() |
void |
setFastPathIdempotent(boolean idempotent) |
void |
setLibraryAcceptsGuard(boolean forceConstantTrueInSlowPath) |
void |
setWeakReferenceGuard(boolean weakReferenceGuard) |
String |
toString() |
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, collectMessages, emitMessages, findChildContainers, getMessages, getMessagesForModification, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesOnGeneratedElementsclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic GuardExpression(SpecializationData source, DSLExpression expression)
public GuardExpression copy(SpecializationData newSpecialization)
public Element getMessageElement()
getMessageElement in class MessageContainerpublic AnnotationMirror getMessageAnnotation()
getMessageAnnotation in class MessageContainerpublic AnnotationValue getMessageAnnotationValue()
getMessageAnnotationValue in class MessageContainerpublic boolean isFastPathIdempotent()
public void setFastPathIdempotent(boolean idempotent)
public DSLExpression getExpression()
public void setLibraryAcceptsGuard(boolean forceConstantTrueInSlowPath)
public boolean isWeakReferenceGuard()
public void setWeakReferenceGuard(boolean weakReferenceGuard)
public boolean isLibraryAcceptsGuard()
public boolean isConstantTrueInSlowPath(boolean uncached)
public boolean implies(GuardExpression other)