org.jetbrains.kotlin.serialization
Interface ProtoBuf.ClassOrBuilder
- All Superinterfaces:
- com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<ProtoBuf.Class>, 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.GeneratedMessageLite.ExtendableMessageOrBuilder<ProtoBuf.Class>
| Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder |
getExtension, getExtension, getExtensionCount, hasExtension |
| 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
hasFqName
boolean hasFqName()
required int32 fq_name = 3;
getFqName
int getFqName()
required int32 fq_name = 3;
hasCompanionObjectName
boolean hasCompanionObjectName()
optional int32 companion_object_name = 4;
If this field is present, it contains the name of companion object.
getCompanionObjectName
int getCompanionObjectName()
optional int32 companion_object_name = 4;
If this field is present, it contains the name of companion object.
getTypeParameterList
java.util.List<ProtoBuf.TypeParameter> getTypeParameterList()
repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
getTypeParameter
ProtoBuf.TypeParameter getTypeParameter(int index)
repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
getTypeParameterCount
int getTypeParameterCount()
repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
getSupertypeList
java.util.List<ProtoBuf.Type> getSupertypeList()
repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
getSupertype
ProtoBuf.Type getSupertype(int index)
repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
getSupertypeCount
int getSupertypeCount()
repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
getNestedClassNameList
java.util.List<java.lang.Integer> getNestedClassNameList()
repeated int32 nested_class_name = 7 [packed = true];
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 [packed = true];
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 [packed = true];
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.kotlin.serialization.Callable member = 11;
getMember
ProtoBuf.Callable getMember(int index)
repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
getMemberCount
int getMemberCount()
repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
getEnumEntryList
java.util.List<java.lang.Integer> getEnumEntryList()
repeated int32 enum_entry = 12 [packed = true];
getEnumEntryCount
int getEnumEntryCount()
repeated int32 enum_entry = 12 [packed = true];
getEnumEntry
int getEnumEntry(int index)
repeated int32 enum_entry = 12 [packed = true];
hasPrimaryConstructor
boolean hasPrimaryConstructor()
optional .org.jetbrains.kotlin.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.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
This field is present if and only if the class has a primary constructor
getSecondaryConstructorList
java.util.List<ProtoBuf.Callable> getSecondaryConstructorList()
repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
getSecondaryConstructor
ProtoBuf.Callable getSecondaryConstructor(int index)
repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
getSecondaryConstructorCount
int getSecondaryConstructorCount()
repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;