[builtins-gen] Explicit visibility for companion objects and secondary constructors
This commit is contained in:
committed by
Space Team
parent
ab7c2f2196
commit
d8ee74222f
@@ -14,7 +14,7 @@ import kotlin.native.internal.IntrinsicType
|
||||
/** 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
|
||||
|
||||
@@ -137,7 +137,7 @@ public class Char private constructor() : Comparable<Char> {
|
||||
this == other
|
||||
|
||||
@kotlin.native.internal.CanBePrecreated
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* The minimum value of a character code unit.
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@ import kotlin.native.internal.*
|
||||
/** Represents a 8-bit signed integer. */
|
||||
public class Byte private constructor() : Number(), Comparable<Byte> {
|
||||
@CanBePrecreated
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Byte can have.
|
||||
*/
|
||||
@@ -448,7 +448,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
|
||||
/** Represents a 16-bit signed integer. */
|
||||
public class Short private constructor() : Number(), Comparable<Short> {
|
||||
@CanBePrecreated
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Short can have.
|
||||
*/
|
||||
@@ -879,7 +879,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
|
||||
/** Represents a 32-bit signed integer. */
|
||||
public class Int private constructor() : Number(), Comparable<Int> {
|
||||
@CanBePrecreated
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Int can have.
|
||||
*/
|
||||
@@ -1363,7 +1363,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
|
||||
/** Represents a 64-bit signed integer. */
|
||||
public class Long private constructor() : Number(), Comparable<Long> {
|
||||
@CanBePrecreated
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Long can have.
|
||||
*/
|
||||
@@ -1849,7 +1849,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
|
||||
|
||||
/** 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.
|
||||
*/
|
||||
@@ -2260,7 +2260,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