|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ProtoBuf.TypeOrBuilder
| Method Summary | |
|---|---|
ProtoBuf.Type.Argument |
getArgument(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2; |
int |
getArgumentCount()
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2; |
java.util.List<ProtoBuf.Type.Argument> |
getArgumentList()
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2; |
ProtoBuf.Type.Constructor |
getConstructor()
required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1; |
int |
getFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4; |
ProtoBuf.Type |
getFlexibleUpperBound()
optional .org.jetbrains.jet.descriptors.serialization.Type flexible_upper_bound = 5; |
boolean |
getNullable()
optional bool nullable = 3 [default = false]; |
boolean |
hasConstructor()
required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1; |
boolean |
hasFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4; |
boolean |
hasFlexibleUpperBound()
optional .org.jetbrains.jet.descriptors.serialization.Type flexible_upper_bound = 5; |
boolean |
hasNullable()
optional bool nullable = 3 [default = false]; |
| Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
|---|
getDefaultInstanceForType, isInitialized |
| Method Detail |
|---|
boolean hasConstructor()
required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
ProtoBuf.Type.Constructor getConstructor()
required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
java.util.List<ProtoBuf.Type.Argument> getArgumentList()
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
ProtoBuf.Type.Argument getArgument(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
int getArgumentCount()
repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
boolean hasNullable()
optional bool nullable = 3 [default = false];
boolean getNullable()
optional bool nullable = 3 [default = false];
boolean hasFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4;
Id in the StringTable If this field is set, the type is flexible. All the fields above represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
int getFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4;
Id in the StringTable If this field is set, the type is flexible. All the fields above represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
boolean hasFlexibleUpperBound()
optional .org.jetbrains.jet.descriptors.serialization.Type flexible_upper_bound = 5;
While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format, we use it mainly to save space: having a special mandatory tag on each an every type just to have an option to represent flexible types is too many wasted bytes.
ProtoBuf.Type getFlexibleUpperBound()
optional .org.jetbrains.jet.descriptors.serialization.Type flexible_upper_bound = 5;
While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format, we use it mainly to save space: having a special mandatory tag on each an every type just to have an option to represent flexible types is too many wasted bytes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||