public static enum TypeUtilities.TypeNameOptions extends Enum<TypeUtilities.TypeNameOptions>
TypeUtilities.getTypeName(javax.lang.model.type.TypeMirror, org.netbeans.api.java.source.TypeUtilities.TypeNameOptions[])
method.Enum Constant and Description |
---|
PRINT_AS_VARARG
Print "..." instead of "[]".
|
PRINT_FQN
Print declared types as fully qualified names.
|
Modifier and Type | Method and Description |
---|---|
static TypeUtilities.TypeNameOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeUtilities.TypeNameOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeUtilities.TypeNameOptions PRINT_FQN
public static final TypeUtilities.TypeNameOptions PRINT_AS_VARARG
public static TypeUtilities.TypeNameOptions[] values()
for (TypeUtilities.TypeNameOptions c : TypeUtilities.TypeNameOptions.values()) System.out.println(c);
public static TypeUtilities.TypeNameOptions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullBuilt on August 30 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.