public static enum ClassIndex.NameKind extends Enum<ClassIndex.NameKind>
ClassIndex.getDeclaredTypes(java.lang.String, org.netbeans.api.java.source.ClassIndex.NameKind, java.util.Set<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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<? extends org.netbeans.api.java.source.ClassIndex.SearchScopeType>)
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()
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 null