public static enum HNBlock.BlocType extends Enum<HNBlock.BlocType>
| Enum Constant and Description |
|---|
CLASS_BODY |
EXPR_GROUP |
GLOBAL_BODY |
IMPORT_BLOC |
INSTANCE_INITIALIZER |
LOCAL_BLOC |
METHOD_BODY |
PACKAGE_BODY |
STATIC_INITIALIZER |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static HNBlock.BlocType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HNBlock.BlocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HNBlock.BlocType UNKNOWN
public static final HNBlock.BlocType PACKAGE_BODY
public static final HNBlock.BlocType GLOBAL_BODY
public static final HNBlock.BlocType CLASS_BODY
public static final HNBlock.BlocType METHOD_BODY
public static final HNBlock.BlocType LOCAL_BLOC
public static final HNBlock.BlocType IMPORT_BLOC
public static final HNBlock.BlocType EXPR_GROUP
public static final HNBlock.BlocType STATIC_INITIALIZER
public static final HNBlock.BlocType INSTANCE_INITIALIZER
public static HNBlock.BlocType[] values()
for (HNBlock.BlocType c : HNBlock.BlocType.values()) System.out.println(c);
public static HNBlock.BlocType 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 nullCopyright © 2025 vpc open source initiative. All rights reserved.