Package com.google.turbine.tree
Class Tree.ModProvides
- java.lang.Object
-
- com.google.turbine.tree.Tree
-
- com.google.turbine.tree.Tree.ModDirective
-
- com.google.turbine.tree.Tree.ModProvides
-
- Enclosing class:
- Tree
public static class Tree.ModProvides extends Tree.ModDirective
A JLS 7.7.4 module uses directive.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.turbine.tree.Tree.ModDirective
Tree.ModDirective.DirectiveKind
-
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 ModProvides(int position, com.google.common.collect.ImmutableList<Tree.Ident> typeName, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<Tree.Ident>> implNames)
-
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)Tree.ModDirective.DirectiveKinddirectiveKind()com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<Tree.Ident>>implNames()Tree.Kindkind()com.google.common.collect.ImmutableList<Tree.Ident>typeName()
-
-
-
Constructor Detail
-
ModProvides
public ModProvides(int position, com.google.common.collect.ImmutableList<Tree.Ident> typeName, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<Tree.Ident>> implNames)
-
-
Method Detail
-
typeName
public com.google.common.collect.ImmutableList<Tree.Ident> typeName()
-
implNames
public com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<Tree.Ident>> implNames()
-
accept
public <I extends @Nullable java.lang.Object,O extends @Nullable java.lang.Object> O accept(Tree.Visitor<I,O> visitor, I input)
-
directiveKind
public Tree.ModDirective.DirectiveKind directiveKind()
- Specified by:
directiveKindin classTree.ModDirective
-
-