org.netbeans.api.java.source
public static enum ClassIndex.NameKind extends Enum<ClassIndex.NameKind>
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
method.Modifier and Type | Method and Description |
---|---|
static ClassIndex.NameKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.NameKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassIndex.NameKind SIMPLE_NAME
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is an exact simple name of the package or declared type.public static final ClassIndex.NameKind PREFIX
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is an case sensitive prefix of the package or declared type name.public static final ClassIndex.NameKind CASE_INSENSITIVE_PREFIX
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is
an case insensitive prefix of the declared type name.public static final ClassIndex.NameKind CAMEL_CASE
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is
an camel case of the declared type name.public static final ClassIndex.NameKind REGEXP
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is
an regular expression of the declared type name.public static final ClassIndex.NameKind CASE_INSENSITIVE_REGEXP
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is
an case insensitive regular expression of the declared type name.public static final ClassIndex.NameKind CAMEL_CASE_INSENSITIVE
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set)
is
a camel case or case insensitive prefix of the declared type name.
For example all these names NPE, NulPoEx, NULLPOInter leads to NullPointerException returned.public static ClassIndex.NameKind[] values()
for (ClassIndex.NameKind c : ClassIndex.NameKind.values()) System.out.println(c);
public static ClassIndex.NameKind 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 March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.