Package com.google.turbine.tree
Class Tree.MethDecl
- java.lang.Object
-
- com.google.turbine.tree.Tree
-
- com.google.turbine.tree.Tree.MethDecl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.turbine.tree.Tree
Tree.Anno, Tree.AnnoExpr, Tree.ArrayInit, Tree.ArrTy, Tree.Assign, Tree.Binary, Tree.ClassLiteral, Tree.ClassTy, Tree.CompUnit, Tree.Conditional, Tree.ConstVarName, Tree.Expression, Tree.Ident, Tree.ImportDecl, Tree.Kind, Tree.Literal, Tree.MethDecl, Tree.ModDecl, Tree.ModDirective, Tree.ModExports, Tree.ModOpens, Tree.ModProvides, Tree.ModRequires, Tree.ModUses, Tree.Paren, Tree.PkgDecl, Tree.PrimTy, Tree.TyDecl, Tree.TyParam, Tree.Type, Tree.TypeCast, Tree.Unary, Tree.VarDecl, Tree.Visitor<I extends @Nullable java.lang.Object,O extends @Nullable java.lang.Object>, Tree.VoidTy, Tree.WildTy
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I extends @Nullable java.lang.Object,O extends @Nullable java.lang.Object>
Oaccept(Tree.Visitor<I,O> visitor, I input)com.google.common.collect.ImmutableList<Tree.Anno>annos()java.util.Optional<Tree>defaultValue()com.google.common.collect.ImmutableList<Tree.ClassTy>exntys()java.lang.Stringjavadoc()A javadoc comment, excluding the opening and closing delimiters but including all interior characters and whitespace.Tree.Kindkind()com.google.common.collect.ImmutableSet<TurbineModifier>mods()Tree.Identname()com.google.common.collect.ImmutableList<Tree.VarDecl>params()java.util.Optional<Tree>ret()com.google.common.collect.ImmutableList<Tree.TyParam>typarams()
-
-
-
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)
-
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()
-
name
public Tree.Ident name()
-
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.
-
-