Skip to content

Commit 05f66b3

Browse files
committed
[GR-37735] Corrections of JavaDoc of TypeDescriptor.
PullRequest: graal/11448
2 parents 5322755 + 8da865f commit 05f66b3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

sdk/src/org.graalvm.polyglot.tck/src/org/graalvm/polyglot/tck/TypeDescriptor.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -144,7 +144,7 @@ public final class TypeDescriptor {
144144
* content type.
145145
*
146146
* @see #isAssignable(org.graalvm.polyglot.tck.TypeDescriptor).
147-
* @see Value#hasMembers().
147+
* @see Value#hasArrayElements().
148148
* @since 0.30
149149
*/
150150
public static final TypeDescriptor ARRAY;
@@ -171,41 +171,47 @@ public final class TypeDescriptor {
171171
/**
172172
* Type descriptor for date.
173173
*
174+
* @see Value#isDate().
174175
* @since 20.0
175176
*/
176177
public static final TypeDescriptor DATE = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.DATE));
177178

178179
/**
179180
* Type descriptor for time.
180181
*
182+
* @see Value#isTime().
181183
* @since 20.0
182184
*/
183185
public static final TypeDescriptor TIME = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.TIME));
184186

185187
/**
186188
* Type descriptor for time zone.
187189
*
190+
* @see Value#isTimeZone().
188191
* @since 20.0
189192
*/
190193
public static final TypeDescriptor TIME_ZONE = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.TIME_ZONE));
191194

192195
/**
193196
* Type descriptor for duration.
194197
*
198+
* @see Value#isDuration().
195199
* @since 20.0
196200
*/
197201
public static final TypeDescriptor DURATION = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.DURATION));
198202

199203
/**
200204
* Type descriptor for metaobjects.
201205
*
206+
* @see Value#isMetaObject().
202207
* @since 20.0
203208
*/
204209
public static final TypeDescriptor META_OBJECT = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.META_OBJECT));
205210

206211
/**
207-
* Type descriptor for duration.
212+
* Type descriptor for exception.
208213
*
214+
* @see Value#isException()
209215
* @since 19.3
210216
*/
211217
public static final TypeDescriptor EXCEPTION = new TypeDescriptor(new PrimitiveImpl(PrimitiveKind.EXCEPTION));

0 commit comments

Comments
 (0)