Class I18nFormatterTreeUtil.I18nFormatCall
java.lang.Object
org.checkerframework.checker.i18nformatter.I18nFormatterTreeUtil.I18nFormatCall
- Enclosing class:
- I18nFormatterTreeUtil
Represents a format method invocation in the syntax tree.
 
An I18nFormatCall instance can only be instantiated by the createFormatForCall method.
- 
Constructor SummaryConstructorsConstructorDescriptionI18nFormatCall(MethodInvocationTree tree, AnnotatedTypeFactory atypeFactory) Creates anI18nFormatCallfor the given method invocation tree.
- 
Method SummaryModifier and TypeMethodDescriptionfinal I18nConversionCategory[]Returns the conversion category for every parameter.final StringReturns the type of method invocation.final FormatterTreeUtil.Result<TypeMirror>[]getTree()Returns the AST node for the call.booleanbooleanisValidParameter(I18nConversionCategory formatCat, TypeMirror paramType) toString()
- 
Constructor Details- 
I18nFormatCallCreates anI18nFormatCallfor the given method invocation tree.- Parameters:
- tree- method invocation tree
- atypeFactory- type factory
 
 
- 
- 
Method Details- 
getTreeReturns the AST node for the call.- Returns:
- the AST node for the call
 
- 
toString
- 
getFormatType
- 
getInvalidError
- 
isValidFormatForInvocationpublic boolean isValidFormatForInvocation()
- 
getInvocationTypeReturns the type of method invocation.- See Also:
 
- 
getInvalidInvocationType
- 
getFormatCategoriesReturns the conversion category for every parameter.- See Also:
 
- 
getParamTypes
- 
isValidParameter
 
-