Class NewObjectExpr

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

public abstract class NewObjectExpr extends Object implements Expr
  • Constructor Details

    • NewObjectExpr

      public NewObjectExpr()
  • Method Details

    • type

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

      public abstract com.google.common.collect.ImmutableList<Expr> arguments()
    • isGeneric

      public abstract boolean isGeneric()
    • 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
    • withType

      public static NewObjectExpr withType(TypeNode type)
    • builder

      public static NewObjectExpr.Builder builder()