public class I18nFormatterTreeUtil.I18nFormatCall
extends java.lang.Object
An I18nFormatCall instance can only be instantiated by createFormatForCall method
Constructor and Description |
---|
I18nFormatCall(com.sun.source.tree.MethodInvocationTree tree,
MethodInvocationNode node,
AnnotatedTypeFactory atypeFactory) |
Modifier and Type | Method and Description |
---|---|
I18nConversionCategory[] |
getFormatCategories()
Returns the conversion category for every parameter.
|
FormatterTreeUtil.Result<I18nFormatterTreeUtil.FormatType> |
getFormatType() |
java.lang.String |
getInvalidError() |
FormatterTreeUtil.Result<I18nFormatterTreeUtil.FormatType> |
getInvalidInvocationType() |
FormatterTreeUtil.Result<FormatterTreeUtil.InvocationType> |
getInvocationType()
Returns the type of method invocation.
|
FormatterTreeUtil.Result<javax.lang.model.type.TypeMirror>[] |
getParamTypes() |
boolean |
isValidFormatForInvocation() |
boolean |
isValidParameter(I18nConversionCategory formatCat,
javax.lang.model.type.TypeMirror paramType) |
java.lang.String |
toString() |
public I18nFormatCall(com.sun.source.tree.MethodInvocationTree tree, MethodInvocationNode node, AnnotatedTypeFactory atypeFactory)
public java.lang.String toString()
toString
in class java.lang.Object
public FormatterTreeUtil.Result<I18nFormatterTreeUtil.FormatType> getFormatType()
public final java.lang.String getInvalidError()
public boolean isValidFormatForInvocation()
public final FormatterTreeUtil.Result<FormatterTreeUtil.InvocationType> getInvocationType()
FormatterTreeUtil.InvocationType
public FormatterTreeUtil.Result<I18nFormatterTreeUtil.FormatType> getInvalidInvocationType()
public final I18nConversionCategory[] getFormatCategories()
I18nConversionCategory
public final FormatterTreeUtil.Result<javax.lang.model.type.TypeMirror>[] getParamTypes()
public boolean isValidParameter(I18nConversionCategory formatCat, javax.lang.model.type.TypeMirror paramType)