Class Tree.ModDecl

  • Enclosing class:
    Tree

    public static class Tree.ModDecl
    extends Tree
    A JLS 7.7 module declaration.
    • Constructor Detail

      • ModDecl

        public ModDecl​(int position,
                       com.google.common.collect.ImmutableList<Tree.Anno> annos,
                       boolean open,
                       java.lang.String moduleName,
                       com.google.common.collect.ImmutableList<Tree.ModDirective> directives)
    • Method Detail

      • open

        public boolean open()
      • annos

        public com.google.common.collect.ImmutableList<Tree.Anno> annos()
      • moduleName

        public java.lang.String moduleName()
      • directives

        public com.google.common.collect.ImmutableList<Tree.ModDirective> directives()
      • 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