Class NodeChildData
java.lang.Object
com.oracle.truffle.dsl.processor.model.MessageContainer
com.oracle.truffle.dsl.processor.model.NodeChildData
- All Implemented Interfaces:
Iterable<MessageContainer>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
MessageContainer.Message -
Field Summary
Fields inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
types -
Constructor Summary
ConstructorsConstructorDescriptionNodeChildData(Element sourceElement, AnnotationMirror sourceMirror, String name, TypeMirror nodeType, TypeMirror originalNodeType, Element accessElement, NodeChildData.Cardinality cardinality, AnnotationValue executeWithValue, String implicitCreate, String uncached) -
Method Summary
Modifier and TypeMethodDescriptionfindExecutableType(TypeMirror targetType) getName()booleanbooleanbooleanvoidsetExecuteWith(List<NodeExecutionData> executeWith) voidsetImplicitCreateExpression(DSLExpression implicitCreateExpression) voidvoidsetUncachedExpression(DSLExpression uncachedExpression) toString()Methods inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, collectMessages, emitMessages, findChildContainers, getMessageAnnotationValue, getMessages, getMessagesForModification, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesOnGeneratedElementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NodeChildData
public NodeChildData(Element sourceElement, AnnotationMirror sourceMirror, String name, TypeMirror nodeType, TypeMirror originalNodeType, Element accessElement, NodeChildData.Cardinality cardinality, AnnotationValue executeWithValue, String implicitCreate, String uncached)
-
-
Method Details
-
needsGeneratedField
public boolean needsGeneratedField() -
getExecuteWithValue
-
getExecuteWith
-
isImplicit
public boolean isImplicit() -
getImplicitCreate
-
getImplicitCreateExpression
-
setImplicitCreateExpression
-
isAllowUncached
public boolean isAllowUncached() -
getUncached
-
getUncachedExpression
-
setUncachedExpression
-
setExecuteWith
-
findExecutableType
-
findGenericExecutableTypes
-
findAnyGenericExecutableType
-
getOriginalType
-
getMessageElement
- Specified by:
getMessageElementin classMessageContainer
-
getMessageAnnotation
- Overrides:
getMessageAnnotationin classMessageContainer
-
setNode
-
getAccessElement
-
getNodeType
-
getCardinality
-
getNodeData
-
getName
-
toString
-