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