|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ProtoBuf.Annotation.Argument.ValueOrBuilder
Method Summary | |
---|---|
ProtoBuf.Annotation |
getAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8; |
ProtoBuf.Annotation.Argument.Value |
getArrayElement(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9; |
int |
getArrayElementCount()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9; |
java.util.List<ProtoBuf.Annotation.Argument.Value> |
getArrayElementList()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9; |
int |
getClassId()
optional int32 class_id = 6; |
double |
getDoubleValue()
optional double double_value = 4; |
int |
getEnumValueId()
optional int32 enum_value_id = 7; |
float |
getFloatValue()
optional float float_value = 3; |
long |
getIntValue()
optional sint64 int_value = 2; |
int |
getStringValue()
optional int32 string_value = 5; |
ProtoBuf.Annotation.Argument.Value.Type |
getType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1; |
boolean |
hasAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8; |
boolean |
hasClassId()
optional int32 class_id = 6; |
boolean |
hasDoubleValue()
optional double double_value = 4; |
boolean |
hasEnumValueId()
optional int32 enum_value_id = 7; |
boolean |
hasFloatValue()
optional float float_value = 3; |
boolean |
hasIntValue()
optional sint64 int_value = 2; |
boolean |
hasStringValue()
optional int32 string_value = 5; |
boolean |
hasType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1; |
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
---|
getDefaultInstanceForType, isInitialized |
Method Detail |
---|
boolean hasType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays of elements of different types. Such entries are allowed in the constant pool of JVM class files. However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
ProtoBuf.Annotation.Argument.Value.Type getType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays of elements of different types. Such entries are allowed in the constant pool of JVM class files. However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
boolean hasIntValue()
optional sint64 int_value = 2;
long getIntValue()
optional sint64 int_value = 2;
boolean hasFloatValue()
optional float float_value = 3;
float getFloatValue()
optional float float_value = 3;
boolean hasDoubleValue()
optional double double_value = 4;
double getDoubleValue()
optional double double_value = 4;
boolean hasStringValue()
optional int32 string_value = 5;
id in StringTable
int getStringValue()
optional int32 string_value = 5;
id in StringTable
boolean hasClassId()
optional int32 class_id = 6;
If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
int getClassId()
optional int32 class_id = 6;
If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
boolean hasEnumValueId()
optional int32 enum_value_id = 7;
id in StringTable
int getEnumValueId()
optional int32 enum_value_id = 7;
id in StringTable
boolean hasAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;
ProtoBuf.Annotation getAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;
java.util.List<ProtoBuf.Annotation.Argument.Value> getArrayElementList()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
ProtoBuf.Annotation.Argument.Value getArrayElement(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
int getArrayElementCount()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |