| Modifier and Type | Field and Description |
|---|---|
| public static final ReceiverValue | ALWAYS_SUITABLE_RECEIVER
This value should be used for receiverValue parameter of Visibility.isVisible iff there is intention to determine if member is visible without receiver related checks being performed. |
| public static final kotlin. | |
| public static final ReceiverValue | FALSE_IF_PROTECTED
Deprecated
|
| public static final @NotNull kotlin. | |
| public static final @NotNull kotlin. | |
| public static final @NotNull kotlin. | |
| public static final Set | |
| private static final ReceiverValue | IRRELEVANT_RECEIVER
This value should be used for receiverValue parameter of Visibility.isVisible iff there is intention to determine if member is visible for any receiver. |
| public static final @NotNull kotlin. | |
| private static final @NotNull kotlin. | |
| private static final Map | |
| public static final @NotNull kotlin. | |
| public static final @NotNull kotlin. | PRIVATE_TO_THIS
This visibility is needed for the next case: class A<in t>(t: T) { private val t: T = t // visibility for t is PRIVATE_TO_THIS fun test() { val x: T = t // correct val y: T = this.t // also correct } fun foo(a: A<string>) { val x: String = a.t // incorrect, because a.t can be Any } } |
| public static final @NotNull kotlin. | |
| public static final @NotNull kotlin. | |
| public static final @NotNull kotlin. | |
| private static final @NotNull Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static @Nullable Integer | |
| pack-priv static @Nullable Integer | compareLocal(@NotNull kotlin.
|
| public static @Nullable DeclarationDescriptorWithVisibility | findInvisibleMember(@Nullable ReceiverValue receiver, @NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
|
| public static boolean | |
| public static boolean | |
| public static boolean | isVisible(@Nullable ReceiverValue receiver, @NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
|
| public static boolean | isVisibleIgnoringReceiver(@NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
|
| public static boolean | isVisibleWithAnyReceiver(@NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
|
| private static void | recordVisibilityMapping(kotlin.
|
| public static @NotNull kotlin. |
| ALWAYS_SUITABLE_RECEIVER | back to summary |
|---|---|
| public static final ReceiverValue ALWAYS_SUITABLE_RECEIVER This value should be used for receiverValue parameter of Visibility.isVisible iff there is intention to determine if member is visible without receiver related checks being performed. | |
| DEFAULT_VISIBILITY | back to summary |
|---|---|
| public static final kotlin. | |
| FALSE_IF_PROTECTED | back to summary |
|---|---|
| public static final ReceiverValue FALSE_IF_PROTECTED
Deprecated
| |
| INHERITED | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| INTERNAL | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| INVISIBLE_FAKE | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| INVISIBLE_FROM_OTHER_MODULES | back to summary |
|---|---|
| public static final Set<kotlin. | |
| IRRELEVANT_RECEIVER | back to summary |
|---|---|
| private static final ReceiverValue IRRELEVANT_RECEIVER This value should be used for receiverValue parameter of Visibility.isVisible iff there is intention to determine if member is visible for any receiver. | |
| LOCAL | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| MODULE_VISIBILITY_HELPER | back to summary |
|---|---|
| private static final @NotNull kotlin. | |
| ORDERED_VISIBILITIES | back to summary |
|---|---|
| private static final Map<kotlin. | |
| PRIVATE | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| PRIVATE_TO_THIS | back to summary |
|---|---|
| public static final @NotNull kotlin. This visibility is needed for the next case:
class A | |
| PROTECTED | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| PUBLIC | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| UNKNOWN | back to summary |
|---|---|
| public static final @NotNull kotlin. | |
| visibilitiesMapping | back to summary |
|---|---|
| private static final @NotNull Map<kotlin. | |
| DescriptorVisibilities | back to summary |
|---|---|
| private DescriptorVisibilities() | |
| compare | back to summary |
|---|---|
public static @Nullable Integer compare(@NotNull kotlin.
| |
| compareLocal | back to summary |
|---|---|
pack-priv static @Nullable Integer compareLocal(@NotNull kotlin.
| |
| findInvisibleMember | back to summary |
|---|---|
public static @Nullable DeclarationDescriptorWithVisibility findInvisibleMember(@Nullable ReceiverValue receiver, @NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
| |
| inSameFile | back to summary |
|---|---|
| public static boolean inSameFile(@NotNull DeclarationDescriptor what, @NotNull DeclarationDescriptor from) | |
| isPrivate | back to summary |
|---|---|
| public static boolean isPrivate(@NotNull kotlin. | |
| isVisible | back to summary |
|---|---|
| public static boolean isVisible(@Nullable ReceiverValue receiver, @NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors) | |
| isVisibleIgnoringReceiver | back to summary |
|---|---|
public static boolean isVisibleIgnoringReceiver(@NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors)
| |
| isVisibleWithAnyReceiver | back to summary |
|---|---|
| public static boolean isVisibleWithAnyReceiver(@NotNull DeclarationDescriptorWithVisibility what, @NotNull DeclarationDescriptor from, boolean useSpecialRulesForPrivateSealedConstructors) | |
| recordVisibilityMapping | back to summary |
|---|---|
| private static void recordVisibilityMapping(kotlin. | |
| toDescriptorVisibility | back to summary |
|---|---|
public static @NotNull kotlin.
| |