223 * Used for instances of {@link PrimitiveTypeTree}.
224 */
225 PRIMITIVE_TYPE(PrimitiveTypeTree.class),
226
227 /**
228 * Used for instances of {@link ReturnTree}.
229 */
230 RETURN(ReturnTree.class),
231
232 /**
233 * Used for instances of {@link EmptyStatementTree}.
234 */
235 EMPTY_STATEMENT(EmptyStatementTree.class),
236
237 /**
238 * Used for instances of {@link SwitchTree}.
239 */
240 SWITCH(SwitchTree.class),
241
242 /**
243 * Used for instances of {@link SynchronizedTree}.
244 */
245 SYNCHRONIZED(SynchronizedTree.class),
246
247 /**
248 * Used for instances of {@link ThrowTree}.
249 */
250 THROW(ThrowTree.class),
251
252 /**
253 * Used for instances of {@link TryTree}.
254 */
255 TRY(TryTree.class),
256
257 /**
258 * Used for instances of {@link ParameterizedTypeTree}.
259 */
260 PARAMETERIZED_TYPE(ParameterizedTypeTree.class),
261
262 /**
|
223 * Used for instances of {@link PrimitiveTypeTree}.
224 */
225 PRIMITIVE_TYPE(PrimitiveTypeTree.class),
226
227 /**
228 * Used for instances of {@link ReturnTree}.
229 */
230 RETURN(ReturnTree.class),
231
232 /**
233 * Used for instances of {@link EmptyStatementTree}.
234 */
235 EMPTY_STATEMENT(EmptyStatementTree.class),
236
237 /**
238 * Used for instances of {@link SwitchTree}.
239 */
240 SWITCH(SwitchTree.class),
241
242 /**
243 * Used for instances of {@link SwitchExpressionTree}.
244 *
245 * @apiNote
246 * This enum constant is modeling switch expressions,
247 * which are part of a preview feature and may be removed
248 * if the preview feature is removed.
249 *
250 * @since 12
251 */
252 @Deprecated(forRemoval=true, since="12")
253 @SuppressWarnings("removal")
254 SWITCH_EXPRESSION(SwitchExpressionTree.class),
255
256 /**
257 * Used for instances of {@link SynchronizedTree}.
258 */
259 SYNCHRONIZED(SynchronizedTree.class),
260
261 /**
262 * Used for instances of {@link ThrowTree}.
263 */
264 THROW(ThrowTree.class),
265
266 /**
267 * Used for instances of {@link TryTree}.
268 */
269 TRY(TryTree.class),
270
271 /**
272 * Used for instances of {@link ParameterizedTypeTree}.
273 */
274 PARAMETERIZED_TYPE(ParameterizedTypeTree.class),
275
276 /**
|