public class TemplateMethod extends MessageContainer implements Comparable<TemplateMethod>
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateMethod.TypeSignature |
MessageContainer.Message| Modifier and Type | Field and Description |
|---|---|
static String |
FRAME_NAME |
static int |
NO_NATURAL_ORDER |
types| Constructor and Description |
|---|
TemplateMethod(String id,
int naturalOrder,
Template template,
MethodSpec specification,
ExecutableElement method,
AnnotationMirror markerAnnotation,
Parameter returnType,
List<Parameter> parameters) |
TemplateMethod(TemplateMethod method) |
TemplateMethod(TemplateMethod method,
ExecutableElement executable) |
addError, addError, addError, addError, addSuppressableWarning, addSuppressableWarning, addWarning, addWarning, collectMessages, emitMessages, getMessageAnnotationValue, getMessages, getMessagesForModification, hasErrors, hasErrorsOrWarnings, iterator, redirectMessages, redirectMessagesOnGeneratedElementsclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String FRAME_NAME
public static final int NO_NATURAL_ORDER
public TemplateMethod(String id, int naturalOrder, Template template, MethodSpec specification, ExecutableElement method, AnnotationMirror markerAnnotation, Parameter returnType, List<Parameter> parameters)
public TemplateMethod(TemplateMethod method)
public TemplateMethod(TemplateMethod method, ExecutableElement executable)
public final Parameter getFrame()
public void addParameter(Parameter p)
public String createReferenceName()
public int getNaturalOrder()
public Element getMessageElement()
getMessageElement in class MessageContainerpublic AnnotationMirror getMessageAnnotation()
getMessageAnnotation in class MessageContainerprotected List<MessageContainer> findChildContainers()
findChildContainers in class MessageContainerpublic void setId(String id)
public String getId()
public Template getTemplate()
public MethodSpec getSpecification()
public Parameter getReturnType()
public Parameter findParameterOrDie(NodeExecutionData execution)
public Parameter findParameter(NodeExecutionData execution)
public ExecutableElement getMethod()
public String getMethodName()
public AnnotationMirror getMarkerAnnotation()
public int getSignatureSize()
public TemplateMethod.TypeSignature getTypeSignature()
public int compareTo(TemplateMethod o)
compareTo in interface Comparable<TemplateMethod>public int compareBySignature(TemplateMethod compareMethod)
public List<TypeMirror> getDynamicTypes()