Class ExportsLibrary
java.lang.Object
com.oracle.truffle.dsl.processor.model.MessageContainer
com.oracle.truffle.dsl.processor.model.Template
com.oracle.truffle.dsl.processor.library.ExportsLibrary
- All Implemented Interfaces:
Iterable<MessageContainer>
-
Nested Class Summary
Nested 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
ConstructorsConstructorDescriptionExportsLibrary(ProcessorContext context, TypeElement templateType, AnnotationMirror annotation, ExportsData exports, LibraryData library, TypeMirror receiverType, boolean explicitReceiver) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<MessageContainer> intintbooleanbooleanbooleanbooleanbooleanbooleanbooleanisExported(LibraryMessage message) booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetDefaultExportPriority(int defaultExportPriority) voidsetDelegationVariable(VariableElement delegateVar) voidsetSharedExpressions(Map<CacheExpression, String> sharedExpressions) voidsetTransitionLimit(DSLExpression allowTransition) voidsetUseForAOT(boolean useForAOT) voidsetUseForAOTPriority(int useForAOTPriority) Methods inherited from class com.oracle.truffle.dsl.processor.model.Template
dump, getContext, getMessageElement, getTemplateType, getTemplateTypeAnnotation, toStringMethods inherited from class com.oracle.truffle.dsl.processor.model.MessageContainer
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, collectMessages, emitMessages, 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
-
ExportsLibrary
public ExportsLibrary(ProcessorContext context, TypeElement templateType, AnnotationMirror annotation, ExportsData exports, LibraryData library, TypeMirror receiverType, boolean explicitReceiver)
-
-
Method Details
-
isUseForAOT
public boolean isUseForAOT() -
setUseForAOT
public void setUseForAOT(boolean useForAOT) -
getUseForAOTPriority
public int getUseForAOTPriority() -
setUseForAOTPriority
public void setUseForAOTPriority(int useForAOTPriority) -
getExports
-
setDefaultExportPriority
public void setDefaultExportPriority(int defaultExportPriority) -
needsDefaultExportProvider
public boolean needsDefaultExportProvider() -
needsEagerExportProvider
public boolean needsEagerExportProvider() -
isFinalReceiver
public boolean isFinalReceiver() -
isDynamicDispatchTarget
public boolean isDynamicDispatchTarget() -
needsDynamicDispatch
public boolean needsDynamicDispatch() -
isBuiltinDefaultExport
public boolean isBuiltinDefaultExport() -
getReceiverDynamicDispatchExport
-
needsState
public boolean needsState() -
needsLibraryNode
public boolean needsLibraryNode() -
findChildContainers
- Overrides:
findChildContainersin classTemplate
-
getLibrary
-
isExported
-
getExportedMessages
-
getMessageAnnotation
- Overrides:
getMessageAnnotationin classMessageContainer
-
getExplicitReceiver
-
getReceiverType
-
isExplicitReceiver
public boolean isExplicitReceiver() -
hasExportDelegation
public boolean hasExportDelegation() -
setDelegationVariable
-
getDelegationVariable
-
getDefaultExportPriority
public int getDefaultExportPriority() -
setTransitionLimit
-
getTransitionLimit
-
isAllowTransition
public boolean isAllowTransition() -
isDeclaredInTemplate
public boolean isDeclaredInTemplate() -
getDeclaringTypes
-
getDeclaringType
-