Package dev.cel.common.types
Class UnspecifiedType
- java.lang.Object
-
- dev.cel.common.types.CelType
-
- dev.cel.common.types.UnspecifiedType
-
@CheckReturnValue @Immutable @Internal public class UnspecifiedType extends CelType
Represents an unspecified CEL-Type.This exists purely to maintain compatibility with since the proto-based Type from checked.proto allows instantiation without an underlying kind set. Users should not be using this class directly.
CEL Library Internals. Do Not Use.
-
-
Constructor Summary
Constructors Constructor Description UnspecifiedType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnspecifiedTypecreate()Do not use.CelKindkind()Return the typeCelKind.java.lang.Stringname()Return the type name.-
Methods inherited from class dev.cel.common.types.CelType
isAssignableFrom, parameters, withFreshTypeParamVariables, withParameters
-
-
-
-
Method Detail
-
name
public java.lang.String name()
Description copied from class:CelTypeReturn the type name.For struct types this should be the fully qualified name. Be wary of introducing unqualified type names as they may collide with future CEL type.
-
create
@Internal public static UnspecifiedType create()
Do not use. This exists for compatibility reason with ListType from checked.proto.
-
-