Package dev.cel.checker
Class Env.IdentBuilder
- java.lang.Object
-
- dev.cel.checker.Env.IdentBuilder
-
- Enclosing class:
- Env
@Deprecated public static final class Env.IdentBuilder extends java.lang.ObjectDeprecated.UseCelVarDecl#newBuilder()instead.A helper class for constructing identifier declarations.
-
-
Constructor Summary
Constructors Constructor Description IdentBuilder(java.lang.String name)Deprecated.Create an identifier builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Declbuild()Deprecated.Build the identDecl.Env.IdentBuilderdoc(@Nullable java.lang.String value)Deprecated.Set the documentation for the identifier.Env.IdentBuildertype(Type value)Deprecated.Set the identifier type.Env.IdentBuildervalue(@Nullable Constant value)Deprecated.Set the identifier to aConstantvalue.
-
-
-
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 aConstantvalue.
-
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 identDecl.
-
-