| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private class | ReadKotlinClassHeaderAnnotationVisitor.KotlinMetadataArgumentVisitor
JVM bytecode format doesn't allow |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private String[] | |
| private int | |
| private String | |
| private static final Map | |
| private kotlin. | |
| private static boolean | |
| private String[] | |
| private int[] | |
| private String | |
| private String[] | |
| private String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable kotlin. | createHeader(kotlin.
|
| public @Nullable kotlin. | |
| private boolean | |
| public @Nullable kotlin. | visitAnnotation(@NotNull kotlin.
|
| public void |
| data | back to summary |
|---|---|
| private String[] data | |
| extraInt | back to summary |
|---|---|
| private int extraInt | |
| extraString | back to summary |
|---|---|
| private String extraString | |
| HEADER_KINDS | back to summary |
|---|---|
| private static final Map<kotlin. | |
| headerKind | back to summary |
|---|---|
| private kotlin. | |
| IGNORE_OLD_METADATA | back to summary |
|---|---|
| private static boolean IGNORE_OLD_METADATA | |
| incompatibleData | back to summary |
|---|---|
| private String[] incompatibleData | |
| metadataVersionArray | back to summary |
|---|---|
| private int[] metadataVersionArray | |
| packageName | back to summary |
|---|---|
| private String packageName | |
| serializedIrFields | back to summary |
|---|---|
| private String[] serializedIrFields | |
| strings | back to summary |
|---|---|
| private String[] strings | |
| ReadKotlinClassHeaderAnnotationVisitor | back to summary |
|---|---|
| public ReadKotlinClassHeaderAnnotationVisitor() | |
| createHeader | back to summary |
|---|---|
public @Nullable kotlin.
| |
| createHeaderWithDefaultMetadataVersion | back to summary |
|---|---|
public @Nullable kotlin.
| |
| shouldHaveData | back to summary |
|---|---|
| private boolean shouldHaveData() | |
| visitAnnotation | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitEnd | back to summary |
|---|---|
public void visitEnd()
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public @Nullable kotlin. | |
| public void | visitClassLiteral(@NotNull kotlin.
|
| public void | |
| protected abstract void | |
| public void |
| strings | back to summary |
|---|---|
| private final List<String> strings | |
| CollectStringArrayAnnotationVisitor | back to summary |
|---|---|
| public CollectStringArrayAnnotationVisitor() | |
| visit | back to summary |
|---|---|
public void visit(@Nullable Object value)
| |
| visitAnnotation | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitClassLiteral | back to summary |
|---|---|
public void visitClassLiteral(@NotNull kotlin.
| |
| visitEnd | back to summary |
|---|---|
public void visitEnd()
| |
| visitEnd | back to summary |
|---|---|
| protected abstract void visitEnd(@NotNull String[] data) | |
| visitEnum | back to summary |
|---|---|
public void visitEnum(@NotNull kotlin.
| |
null as the annotation argument value, so we use the default value of the argument's type
to signify that the argument is absent. So if we read an empty string, for example, we should interpret it as if there was no
value at all.
If we didn't, it could lead to problems for arguments like ReadKotlinClassHeaderAnnotationVisitor#packageName
(corresponding to kotlin.): the class could be loaded as if it's JVM package name is the default package,
which makes no sense and leads to problems in IDE like KT-39492, KTIJ-18094.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private @NotNull kotlin. | |
| private @NotNull kotlin. | |
| public void | |
| public @Nullable kotlin. | visitAnnotation(@Nullable kotlin.
|
| public @Nullable kotlin. | |
| public void | visitClassLiteral(@Nullable kotlin.
|
| public void | |
| public void |
| KotlinMetadataArgumentVisitor | back to summary |
|---|---|
| private KotlinMetadataArgumentVisitor() | |
| dataArrayVisitor | back to summary |
|---|---|
private @NotNull kotlin.
| |
| stringsArrayVisitor | back to summary |
|---|---|
private @NotNull kotlin.
| |
| visit | back to summary |
|---|---|
public void visit(@Nullable kotlin.
| |
| visitAnnotation | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitArray | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitClassLiteral | back to summary |
|---|---|
public void visitClassLiteral(@Nullable kotlin.
| |
| visitEnd | back to summary |
|---|---|
public void visitEnd()
| |
| visitEnum | back to summary |
|---|---|
public void visitEnum(@Nullable kotlin.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private @NotNull kotlin. | |
| public void | |
| public @Nullable kotlin. | visitAnnotation(@Nullable kotlin.
|
| public @Nullable kotlin. | |
| public void | visitClassLiteral(@Nullable kotlin.
|
| public void | |
| public void |
| KotlinSerializedIrArgumentVisitor | back to summary |
|---|---|
| private KotlinSerializedIrArgumentVisitor() | |
| serializedIrArrayVisitor | back to summary |
|---|---|
private @NotNull kotlin.
| |
| visit | back to summary |
|---|---|
public void visit(@Nullable kotlin.
| |
| visitAnnotation | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitArray | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitClassLiteral | back to summary |
|---|---|
public void visitClassLiteral(@Nullable kotlin.
| |
| visitEnd | back to summary |
|---|---|
public void visitEnd()
| |
| visitEnum | back to summary |
|---|---|
public void visitEnum(@Nullable kotlin.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private @NotNull kotlin. | |
| private @NotNull kotlin. | |
| public void | |
| public @Nullable kotlin. | visitAnnotation(@Nullable kotlin.
|
| public @Nullable kotlin. | |
| public void | visitClassLiteral(@Nullable kotlin.
|
| public void | |
| public void |
| OldDeprecatedAnnotationArgumentVisitor | back to summary |
|---|---|
| private OldDeprecatedAnnotationArgumentVisitor() | |
| dataArrayVisitor | back to summary |
|---|---|
private @NotNull kotlin.
| |
| stringsArrayVisitor | back to summary |
|---|---|
private @NotNull kotlin.
| |
| visit | back to summary |
|---|---|
public void visit(@Nullable kotlin.
| |
| visitAnnotation | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitArray | back to summary |
|---|---|
| public @Nullable kotlin. | |
| visitClassLiteral | back to summary |
|---|---|
public void visitClassLiteral(@Nullable kotlin.
| |
| visitEnd | back to summary |
|---|---|
public void visitEnd()
| |
| visitEnum | back to summary |
|---|---|
public void visitEnum(@Nullable kotlin.
| |