Class Tree.AnnoExpr

  • Enclosing class:
    Tree

    public static class Tree.AnnoExpr
    extends Tree.Expression
    An annotation in an expression context, e.g. an annotation literal nested inside another annotation.
    • Constructor Detail

      • AnnoExpr

        public AnnoExpr​(int position,
                        Tree.Anno value)
    • Method Detail

      • value

        public Tree.Anno value()
        The annotation.
      • accept

        public <I extends @Nullable java.lang.Object,​O extends @Nullable java.lang.Object> O accept​(Tree.Visitor<I,​O> visitor,
                                                                                                          I input)
        Specified by:
        accept in class Tree