[builtins-gen] Explicit visibility for companion objects and secondary constructors
This commit is contained in:
committed by
Space Team
parent
ab7c2f2196
commit
d8ee74222f
@@ -13,7 +13,7 @@ package kotlin
|
||||
/** Represents a value which is either `true` or `false`. */
|
||||
public class Boolean private constructor() : Comparable<Boolean> {
|
||||
@SinceKotlin("1.3")
|
||||
companion object {}
|
||||
public companion object {}
|
||||
|
||||
/** Returns the inverse of this boolean. */
|
||||
@kotlin.internal.IntrinsicConstEvaluation
|
||||
|
||||
@@ -139,7 +139,7 @@ internal constructor(private val value: Int) : Comparable<Char> {
|
||||
public override fun hashCode(): Int =
|
||||
value
|
||||
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* The minimum value of a character code unit.
|
||||
*/
|
||||
|
||||
@@ -12,7 +12,7 @@ package kotlin
|
||||
|
||||
/** Represents a 8-bit signed integer. */
|
||||
public class Byte private constructor() : Number(), Comparable<Byte> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Byte can have.
|
||||
*/
|
||||
@@ -385,7 +385,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
|
||||
|
||||
/** Represents a 16-bit signed integer. */
|
||||
public class Short private constructor() : Number(), Comparable<Short> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Short can have.
|
||||
*/
|
||||
@@ -756,7 +756,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
|
||||
|
||||
/** Represents a 32-bit signed integer. */
|
||||
public class Int private constructor() : Number(), Comparable<Int> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Int can have.
|
||||
*/
|
||||
@@ -1174,7 +1174,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
|
||||
/** Represents a 64-bit signed integer. */
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
public class Long internal constructor(internal val low: Int, internal val high: Int) : Number(), Comparable<Long> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Long can have.
|
||||
*/
|
||||
@@ -1665,7 +1665,7 @@ public class Long internal constructor(internal val low: Int, internal val high:
|
||||
|
||||
/** Represents a single-precision 32-bit IEEE 754 floating point number. */
|
||||
public class Float private constructor() : Number(), Comparable<Float> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the smallest *positive* nonzero value of Float.
|
||||
*/
|
||||
@@ -2000,7 +2000,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
|
||||
|
||||
/** Represents a double-precision 64-bit IEEE 754 floating point number. */
|
||||
public class Double private constructor() : Number(), Comparable<Double> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the smallest *positive* nonzero value of Double.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user