public class NodeData extends Template implements Comparable<NodeData>
MessageContainer.Messagetypes| Constructor and Description |
|---|
NodeData(ProcessorContext context,
TypeElement type) |
NodeData(ProcessorContext context,
TypeElement type,
TypeSystemData typeSystem,
boolean generateFactory,
boolean generateUncached,
boolean generatePackagePrivate) |
getBaseContainer, getContext, getMessageElement, getTemplateType, getTemplateTypeAnnotationaddError, addError, addError, addError, addWarning, addWarning, collectMessages, emitMessages, getMessageAnnotation, getMessageAnnotationValue, getMessages, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesNotEnclosedIn, redirectMessagesOnGeneratedElementsclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic NodeData(ProcessorContext context, TypeElement type, TypeSystemData typeSystem, boolean generateFactory, boolean generateUncached, boolean generatePackagePrivate)
public NodeData(ProcessorContext context, TypeElement type)
public void setGenerateStatistics(boolean generateStatistics)
public boolean isGenerateStatistics()
public Map<CacheExpression,String> getSharedCaches()
public void setSharedCaches(Map<CacheExpression,String> sharedCaches)
public void setNodeBound(boolean isNodeBound)
public boolean isNodeBound()
public void setUncachable(boolean uncached)
public void setGenerateUncached(boolean generateUncached)
public boolean isGenerateUncached()
public void setGeneratePackagePrivate(boolean generatePackagePrivate)
public boolean isGeneratePackagePrivate()
public boolean isUncachable()
public boolean isGenerateFactory()
public NodeExecutionData getThisExecution()
public boolean isGenerateIntrospection()
public void setGenerateIntrospection(boolean reflectable)
public boolean isGenerateAOT()
public void setGenerateAOT(boolean generateAOT)
public boolean isGenerateTraceOnEnter()
public boolean isGenerateTraceOnReturn()
public boolean isGenerateTraceOnException()
public void setGenerateExecuteTracing(boolean generateTraceOnEnter,
boolean generateTraceOnReturn,
boolean generateTraceOnException)
public boolean isFallbackReachable()
public void setFrameType(TypeMirror frameType)
public TypeMirror getFrameType()
public void addEnclosedNode(NodeData node)
public List<NodeExecutionData> getChildExecutions()
public Set<TypeMirror> findSpecializedTypes(NodeExecutionData execution)
public Collection<TypeMirror> findSpecializedReturnTypes()
public int getExecutionCount()
public int getSignatureSize()
public boolean isFrameUsedByAnyGuard()
public List<CreateCastData> getCasts()
public List<NodeFieldData> getFields()
protected List<MessageContainer> findChildContainers()
findChildContainers in class Templatepublic ParameterSpec getInstanceParameterSpec()
public void setInstanceParameterSpec(ParameterSpec instanceParameter)
public String getNodeId()
public TypeMirror getNodeType()
public Modifier getVisibility()
public boolean needsFactory()
public boolean supportsFrame()
public NodeExecutionData findExecutionByExpression(String childNameExpression)
public NodeData getDeclaringNode()
public List<ExecutableElement> getAllTemplateMethods()
public ExecutableTypeData findAnyGenericExecutableType(ProcessorContext context, int evaluatedCount)
public List<ExecutableTypeData> getExecutableTypes(int evaluatedCount)
public List<ExecutableTypeData> findGenericExecutableTypes(int evaluatedCount)
public ExecutableTypeData findExecutableType(TypeMirror primitiveType, int evaluatedCount)
public boolean needsRewrites(ProcessorContext context)
public SpecializationData getFallbackSpecialization()
public TypeSystemData getTypeSystem()
public NodeChildData findChild(String name)
public List<NodeChildData> getChildren()
public Collection<SpecializationData> computeUncachedSpecializations(List<SpecializationData> s)
public List<SpecializationData> getSpecializations()
public ExecutableTypeData getGenericExecutableType(ExecutableTypeData typeHint)
public List<ExecutableTypeData> getExecutableTypes()
public int getMinimalEvaluatedParameters()
public CreateCastData findCast(String name)
public int compareTo(NodeData o)
compareTo in interface Comparable<NodeData>public TypeMirror getGenericType(NodeExecutionData execution)
public List<TypeMirror> getGenericTypes(NodeExecutionData execution)
public void setReportPolymorphism(boolean report)
public boolean isReportPolymorphism()
public Set<TypeMirror> getLibraryTypes()
public void setPolymorphicExecutable(ExecutableTypeData polymorphicType)
public ExecutableTypeData getPolymorphicExecutable()