Class Tree.MethDecl

  • Enclosing class:
    Tree

    public static class Tree.MethDecl
    extends Tree
    A JLS 8.4 method declaration.
    • Constructor Detail

      • MethDecl

        public MethDecl​(int position,
                        java.util.Set<TurbineModifier> mods,
                        com.google.common.collect.ImmutableList<Tree.Anno> annos,
                        com.google.common.collect.ImmutableList<Tree.TyParam> typarams,
                        java.util.Optional<Tree> ret,
                        Tree.Ident name,
                        com.google.common.collect.ImmutableList<Tree.VarDecl> params,
                        com.google.common.collect.ImmutableList<Tree.ClassTy> exntys,
                        java.util.Optional<Tree> defaultValue,
                        java.lang.String javadoc)
    • Method Detail

      • 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
      • mods

        public com.google.common.collect.ImmutableSet<TurbineModifier> mods()
      • annos

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

        public com.google.common.collect.ImmutableList<Tree.TyParam> typarams()
      • ret

        public java.util.Optional<Tree> ret()
      • params

        public com.google.common.collect.ImmutableList<Tree.VarDecl> params()
      • exntys

        public com.google.common.collect.ImmutableList<Tree.ClassTy> exntys()
      • defaultValue

        public java.util.Optional<Tree> defaultValue()
      • javadoc

        public java.lang.String javadoc()
        A javadoc comment, excluding the opening and closing delimiters but including all interior characters and whitespace.