All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
AnnotationMirror |
categoriesToFormatAnnotation(I18nConversionCategory[] args)
Takes a list of ConversionCategory elements, and returns a syntax tree
element that represents a I18nFormat annotation with the list as
value.
|
I18nFormatterTreeUtil.I18nFormatCall |
createFormatForCall(MethodInvocationTree tree,
MethodInvocationNode node,
I18nFormatterAnnotatedTypeFactory atypeFactory)
Returns an I18nFormatCall instance, only if FormatFor is called.
|
AnnotationMirror |
exceptionToInvalidFormatAnnotation(IllegalArgumentException ex)
Takes an exception that describes an invalid formatter string and,
returns a syntax trees element that represents a
I18nInvalidFormat annotation with the exception's error message
as value.
|
<E> void |
failure(FormatterTreeUtil.Result<E> res,
@CompilerMessageKey String msg,
Object... args)
Reports an error.
|
I18nConversionCategory[] |
formatAnnotationToCategories(AnnotationMirror anno)
Takes a syntax tree element that represents a I18nFormat
annotation, and returns its value.
|
FormatterTreeUtil.Result<I18nConversionCategory[]> |
getHasFormatCallCategories(MethodInvocationNode node) |
boolean |
isHasFormatCall(MethodInvocationNode node,
AnnotatedTypeFactory atypeFactory) |
boolean |
isIsFormatCall(MethodInvocationNode node,
AnnotatedTypeFactory atypeFactory) |
boolean |
isMakeFormatCall(MethodInvocationNode node,
AnnotatedTypeFactory atypeFactory) |
FormatterTreeUtil.Result<I18nConversionCategory[]> |
makeFormatCallCategories(MethodInvocationNode node,
I18nFormatterAnnotatedTypeFactory atypeFactory) |
<E> void |
warning(FormatterTreeUtil.Result<E> res,
@CompilerMessageKey String msg,
Object... args)
Reports an warning.
|