Package com.google.turbine.tree
Class Tree.ClassTy
- java.lang.Object
-
- com.google.turbine.tree.Tree
-
- com.google.turbine.tree.Tree.Type
-
- com.google.turbine.tree.Tree.ClassTy
-
-
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 ClassTy(int position, java.util.Optional<Tree.ClassTy> base, Tree.Ident name, com.google.common.collect.ImmutableList<Tree.Type> tyargs, com.google.common.collect.ImmutableList<Tree.Anno> annos)
-
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)java.util.Optional<Tree.ClassTy>base()The base type, for qualified type uses.Tree.Kindkind()Tree.Identname()The simple name of the type.com.google.common.collect.ImmutableList<Tree.Type>tyargs()A possibly empty list of type arguments.
-
-
-
Constructor Detail
-
ClassTy
public ClassTy(int position, java.util.Optional<Tree.ClassTy> base, Tree.Ident name, com.google.common.collect.ImmutableList<Tree.Type> tyargs, com.google.common.collect.ImmutableList<Tree.Anno> annos)
-
-
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)
-
base
public java.util.Optional<Tree.ClassTy> base()
The base type, for qualified type uses.For example,
Map.Entry.
-
name
public Tree.Ident name()
The simple name of the type.
-
tyargs
public com.google.common.collect.ImmutableList<Tree.Type> tyargs()
A possibly empty list of type arguments.
-
-