public static enum Declaration._Field extends Enum<Declaration._Field> implements PField
| Enum Constant and Description |
|---|
DECL_CONST |
DECL_ENUM |
DECL_SERVICE |
DECL_STRUCT |
DECL_TYPEDEF |
| Modifier and Type | Method and Description |
|---|---|
static Declaration._Field |
forKey(int key) |
static Declaration._Field |
forName(String name) |
Object |
getDefaultValue() |
PDescriptor |
getDescriptor() |
int |
getKey() |
String |
getName() |
PRequirement |
getRequirement() |
PType |
getType() |
boolean |
hasDefaultValue() |
String |
toString() |
static Declaration._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Declaration._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Declaration._Field DECL_ENUM
public static final Declaration._Field DECL_TYPEDEF
public static final Declaration._Field DECL_STRUCT
public static final Declaration._Field DECL_SERVICE
public static final Declaration._Field DECL_CONST
public static Declaration._Field[] values()
for (Declaration._Field c : Declaration._Field.values()) System.out.println(c);
public static Declaration._Field 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 nullpublic PRequirement getRequirement()
getRequirement in interface PFieldpublic PDescriptor getDescriptor()
getDescriptor in interface PFieldpublic boolean hasDefaultValue()
hasDefaultValue in interface PFieldpublic Object getDefaultValue()
getDefaultValue in interface PFieldpublic String toString()
toString in class Enum<Declaration._Field>public static Declaration._Field forKey(int key)
public static Declaration._Field forName(String name)
Copyright © 2016. All rights reserved.