[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 @@ package kotlin
|
||||
*/
|
||||
public class Boolean private constructor() : Comparable<Boolean> {
|
||||
@SinceKotlin("1.3")
|
||||
companion object {}
|
||||
public companion object {}
|
||||
|
||||
/** Returns the inverse of this boolean. */
|
||||
@kotlin.internal.IntrinsicConstEvaluation
|
||||
|
||||
@@ -108,7 +108,7 @@ public class Char private constructor() : Comparable<Char> {
|
||||
|
||||
public override fun hashCode(): Int
|
||||
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* The minimum value of a character code unit.
|
||||
*/
|
||||
|
||||
@@ -13,7 +13,7 @@ package kotlin
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `byte`.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
@@ -383,7 +383,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `short`.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
@@ -751,7 +751,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `int`.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
@@ -1165,7 +1165,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `long`.
|
||||
*/
|
||||
public class Long private constructor() : Number(), Comparable<Long> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the minimum value an instance of Long can have.
|
||||
*/
|
||||
@@ -1582,7 +1582,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `float`.
|
||||
*/
|
||||
public class Float private constructor() : Number(), Comparable<Float> {
|
||||
companion object {
|
||||
public companion object {
|
||||
/**
|
||||
* A constant holding the smallest *positive* nonzero value of Float.
|
||||
*/
|
||||
@@ -1915,7 +1915,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
|
||||
* On the JVM, non-nullable values of this type are represented as values of the primitive type `double`.
|
||||
*/
|
||||
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