Package io.protostuff.parser
Class EnumGroup
java.lang.Object
io.protostuff.parser.AnnotationContainer
io.protostuff.parser.EnumGroup
- All Implemented Interfaces:
HasAnnotations
,HasName
,HasOptions
,HasProto
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Disabled by default (the earlier protoc 2.x versions enabled this by default, but was changed later on).(package private) final LinkedHashMap
<String, Object> private ArrayList
<EnumGroup.Value> (package private) final String
(package private) final Message
(package private) final Proto
(package private) final ArrayList
<EnumGroup.Value> (package private) final LinkedHashMap
<String, Object> private ArrayList
<EnumGroup.Value> (package private) final LinkedHashMap
<String, EnumGroup.Value> Fields inherited from class io.protostuff.parser.AnnotationContainer
annotations, docs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(EnumGroup.Value value) (package private) void
<V> V
getExtraOption
(String key) getName()
getO()
getProto()
getStandardOption
(String key) getValue
(int index) int
boolean
isNested()
void
putExtraOption
(String key, Object value) void
putStandardOption
(String key, Object value) toString()
Methods inherited from class io.protostuff.parser.AnnotationContainer
add, addAnnotations, addDoc, err, getA, getAnnotation, getAnnotationMap, getAnnotations, getDocs, hasAnnotation, isEmptyA
-
Field Details
-
ENUM_ALLOW_ALIAS
public static final boolean ENUM_ALLOW_ALIASDisabled by default (the earlier protoc 2.x versions enabled this by default, but was changed later on). -
name
-
parentMessage
-
proto
-
values
-
sortedValues
-
standardOptions
-
extraOptions
-
indexedValues
-
uniqueSortedValues
-
-
Constructor Details
-
EnumGroup
-
-
Method Details
-
getName
-
getFullName
-
getJavaFullName
-
getRelativeName
-
getParentMessage
-
isNested
public boolean isNested() -
getProto
-
putStandardOption
- Specified by:
putStandardOption
in interfaceHasOptions
-
putExtraOption
- Specified by:
putExtraOption
in interfaceHasOptions
-
getStandardOptions
-
getStandardOption
-
getExtraOptions
-
getO
-
getOptions
- Specified by:
getOptions
in interfaceHasOptions
-
getExtraOption
-
getValue
-
getValue
-
getValues
-
getValueMap
-
getSortedValues
-
getFirstValue
-
getValueCount
public int getValueCount() -
add
-
cacheFullyQualifiedName
void cacheFullyQualifiedName() -
getUniqueSortedValues
-
toString
-