1
1
/*
2
- * Copyright (c) 2017, 2021 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2017, 2022 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* The Universal Permissive License (UPL), Version 1.0
@@ -144,7 +144,7 @@ public final class TypeDescriptor {
144
144
* content type.
145
145
*
146
146
* @see #isAssignable(org.graalvm.polyglot.tck.TypeDescriptor).
147
- * @see Value#hasMembers ().
147
+ * @see Value#hasArrayElements ().
148
148
* @since 0.30
149
149
*/
150
150
public static final TypeDescriptor ARRAY ;
@@ -171,41 +171,47 @@ public final class TypeDescriptor {
171
171
/**
172
172
* Type descriptor for date.
173
173
*
174
+ * @see Value#isDate().
174
175
* @since 20.0
175
176
*/
176
177
public static final TypeDescriptor DATE = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .DATE ));
177
178
178
179
/**
179
180
* Type descriptor for time.
180
181
*
182
+ * @see Value#isTime().
181
183
* @since 20.0
182
184
*/
183
185
public static final TypeDescriptor TIME = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .TIME ));
184
186
185
187
/**
186
188
* Type descriptor for time zone.
187
189
*
190
+ * @see Value#isTimeZone().
188
191
* @since 20.0
189
192
*/
190
193
public static final TypeDescriptor TIME_ZONE = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .TIME_ZONE ));
191
194
192
195
/**
193
196
* Type descriptor for duration.
194
197
*
198
+ * @see Value#isDuration().
195
199
* @since 20.0
196
200
*/
197
201
public static final TypeDescriptor DURATION = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .DURATION ));
198
202
199
203
/**
200
204
* Type descriptor for metaobjects.
201
205
*
206
+ * @see Value#isMetaObject().
202
207
* @since 20.0
203
208
*/
204
209
public static final TypeDescriptor META_OBJECT = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .META_OBJECT ));
205
210
206
211
/**
207
- * Type descriptor for duration .
212
+ * Type descriptor for exception .
208
213
*
214
+ * @see Value#isException()
209
215
* @since 19.3
210
216
*/
211
217
public static final TypeDescriptor EXCEPTION = new TypeDescriptor (new PrimitiveImpl (PrimitiveKind .EXCEPTION ));
0 commit comments