Package com.google.errorprone.refaster.annotation

  • Class Summary
    Class Description
    RequiredAnnotationProcessor
    Enforces @RequiredAnnotation as an annotation processor.
  • Annotation Types Summary
    Annotation Type Description
    AfterTemplate
    Desired "after" version of a refactoring.
    AllowCodeBetweenLines
    Annotation on a Refaster rule to allow code between every pair of consecutive top-level statements in @BeforeTemplates that do not refer to variables Refaster knows about and do not break or return, and moves that code to the beginning of the @AfterTemplate.
    AlsoNegation
    Indicates that Refaster should, additionally, refactor the negation of this rule and its corresponding before templates.
    BeforeTemplate
    Desired "before" version of a refactoring.
    Matches
    Specify an error-prone Matcher to further restrict what expressions are matched by the annotated parameter.
    MayOptionallyUse
    Indicates that a parameter to a placeholder method is not required to be used in the placeholder's implementation.
    NoAutoboxing
    Indicates that a Refaster rule should not allow autoboxing when it is typechecking a match.
    NotMatches
    Specify an error-prone Matcher to further restrict what expressions are matched by the annotated parameter.
    OfKind
    Annotation to specify what tree kinds are allowed or disallowed to match a given expression.
    Placeholder
    Annotation to indicate a placeholder method.
    Repeated
    An annotation for repeated Refaster template variables.
    RequiredAnnotation
    Indicates that an annotation requires the presence of another annotation.
    UseImportPolicy
    Annotation to indicate which import policy to use.