org.jetbrains.jet.descriptors.serialization
Interface ProtoBuf.ClassOrBuilder
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
- ProtoBuf.Class, ProtoBuf.Class.Builder
- Enclosing class:
- ProtoBuf
public static interface ProtoBuf.ClassOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder
| Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
getDefaultInstanceForType, isInitialized |
hasFlags
boolean hasFlags()
optional int32 flags = 1 [default = 0];
Visibility
Modality
has_annotation
ClassKind
is_inner
getFlags
int getFlags()
optional int32 flags = 1 [default = 0];
Visibility
Modality
has_annotation
ClassKind
is_inner
hasExtraVisibility
boolean hasExtraVisibility()
optional string extra_visibility = 2;
for things like java-specific visibilities
getExtraVisibility
java.lang.String getExtraVisibility()
optional string extra_visibility = 2;
for things like java-specific visibilities
getExtraVisibilityBytes
com.google.protobuf.ByteString getExtraVisibilityBytes()
optional string extra_visibility = 2;
for things like java-specific visibilities
hasFqName
boolean hasFqName()
required int32 fq_name = 3;
getFqName
int getFqName()
required int32 fq_name = 3;
hasClassObject
boolean hasClassObject()
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file
getClassObject
ProtoBuf.Class.ClassObject getClassObject()
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file
getTypeParameterList
java.util.List<ProtoBuf.TypeParameter> getTypeParameterList()
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
getTypeParameter
ProtoBuf.TypeParameter getTypeParameter(int index)
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
getTypeParameterCount
int getTypeParameterCount()
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
getSupertypeList
java.util.List<ProtoBuf.Type> getSupertypeList()
repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
getSupertype
ProtoBuf.Type getSupertype(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
getSupertypeCount
int getSupertypeCount()
repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
getNestedClassNameList
java.util.List<java.lang.Integer> getNestedClassNameList()
repeated int32 nested_class_name = 7;
we store only names, because the actual information must reside in the corresponding .class files,
to be obtainable through reflection at runtime
getNestedClassNameCount
int getNestedClassNameCount()
repeated int32 nested_class_name = 7;
we store only names, because the actual information must reside in the corresponding .class files,
to be obtainable through reflection at runtime
getNestedClassName
int getNestedClassName(int index)
repeated int32 nested_class_name = 7;
we store only names, because the actual information must reside in the corresponding .class files,
to be obtainable through reflection at runtime
getMemberList
java.util.List<ProtoBuf.Callable> getMemberList()
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
getMember
ProtoBuf.Callable getMember(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
getMemberCount
int getMemberCount()
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
getEnumEntryList
java.util.List<java.lang.Integer> getEnumEntryList()
repeated int32 enum_entry = 12;
getEnumEntryCount
int getEnumEntryCount()
repeated int32 enum_entry = 12;
getEnumEntry
int getEnumEntry(int index)
repeated int32 enum_entry = 12;
hasPrimaryConstructor
boolean hasPrimaryConstructor()
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
This field is present if and only if the class has a primary constructor
getPrimaryConstructor
ProtoBuf.Class.PrimaryConstructor getPrimaryConstructor()
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
This field is present if and only if the class has a primary constructor