Class Env.IdentBuilder

  • Enclosing class:
    Env

    @Deprecated
    public static final class Env.IdentBuilder
    extends java.lang.Object
    Deprecated.
    Use CelVarDecl#newBuilder() instead.
    A helper class for constructing identifier declarations.
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentBuilder​(java.lang.String name)
      Deprecated.
      Create an identifier builder.
    • Constructor Detail

      • IdentBuilder

        public IdentBuilder​(java.lang.String name)
        Deprecated.
        Create an identifier builder.
    • Method Detail

      • type

        @CanIgnoreReturnValue
        public Env.IdentBuilder type​(Type value)
        Deprecated.
        Set the identifier type.
      • value

        @CanIgnoreReturnValue
        public Env.IdentBuilder value​(@Nullable Constant value)
        Deprecated.
        Set the identifier to a Constant value.
      • doc

        @CanIgnoreReturnValue
        public Env.IdentBuilder doc​(@Nullable java.lang.String value)
        Deprecated.
        Set the documentation for the identifier.
      • build

        public Decl build()
        Deprecated.
        Build the ident Decl.