Class VariableExpr

java.lang.Object
com.google.api.generator.engine.ast.VariableExpr
All Implemented Interfaces:
AstNode, Expr

public abstract class VariableExpr extends Object implements Expr
  • Constructor Details

    • VariableExpr

      public VariableExpr()
  • Method Details

    • variable

      public abstract Variable variable()
    • exprReferenceExpr

      @Nullable public abstract Expr exprReferenceExpr()
    • staticReferenceType

      @Nullable public abstract TypeNode staticReferenceType()
    • isDecl

      public abstract boolean isDecl()
      Variable declaration fields.
    • scope

      public abstract ScopeNode scope()
    • isStatic

      public abstract boolean isStatic()
    • isFinal

      public abstract boolean isFinal()
    • isVolatile

      public abstract boolean isVolatile()
    • annotations

      public abstract com.google.common.collect.ImmutableList<AnnotationNode> annotations()
    • templateNodes

      public abstract com.google.common.collect.ImmutableList<AstNode> templateNodes()
    • type

      public TypeNode type()
      Specified by:
      type in interface Expr
    • accept

      public void accept(AstNodeVisitor visitor)
      Description copied from interface: AstNode
      Writes the syntatically-correct Java code representation of this node.
      Specified by:
      accept in interface AstNode
      Specified by:
      accept in interface Expr
    • withVariable

      public static VariableExpr withVariable(Variable variable)
    • builder

      public static VariableExpr.Builder builder()
    • toBuilder

      public abstract VariableExpr.Builder toBuilder()