Class JavaInputAstVisitor.DeclarationModifiersAndTypeAnnotations

  • Direct Known Subclasses:
    AutoValue_JavaInputAstVisitor_DeclarationModifiersAndTypeAnnotations
    Enclosing class:
    JavaInputAstVisitor

    abstract static class JavaInputAstVisitor.DeclarationModifiersAndTypeAnnotations
    extends java.lang.Object
    The modifiers annotations for a declaration, grouped in to a prefix that contains all of the declaration annotations and modifiers, and a suffix of type annotations.

    For examples like @Deprecated public @Nullable Foo foo();, this allows us to format @Deprecated public as declaration modifiers, and @Nullable as a type annotation on the return type.