Skip to content

Commit 2617a20

Browse files
committed
Swift 4.2/5
1 parent 3e3404b commit 2617a20

31 files changed

+519
-519
lines changed

Sources/Boolean.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open class Boolean: java_swift.JavaObject, /* interface java.io.Serializable */
2020

2121
private static var FALSE_FieldID: jfieldID?
2222

23-
open static var FALSE: Boolean! {
23+
public static var FALSE: Boolean! {
2424
get {
2525
let __value = JNIField.GetStaticObjectField( fieldName: "FALSE", fieldType: "Ljava/lang/Boolean;", fieldCache: &FALSE_FieldID, className: "java/lang/Boolean", classCache: &BooleanJNIClass )
2626
defer { JNI.DeleteLocalRef( __value ) }
@@ -32,7 +32,7 @@ open class Boolean: java_swift.JavaObject, /* interface java.io.Serializable */
3232

3333
private static var TRUE_FieldID: jfieldID?
3434

35-
open static var TRUE: Boolean! {
35+
public static var TRUE: Boolean! {
3636
get {
3737
let __value = JNIField.GetStaticObjectField( fieldName: "TRUE", fieldType: "Ljava/lang/Boolean;", fieldCache: &TRUE_FieldID, className: "java/lang/Boolean", classCache: &BooleanJNIClass )
3838
defer { JNI.DeleteLocalRef( __value ) }
@@ -44,7 +44,7 @@ open class Boolean: java_swift.JavaObject, /* interface java.io.Serializable */
4444

4545
private static var TYPE_FieldID: jfieldID?
4646

47-
open static var TYPE: java_swift.JavaClass! {
47+
public static var TYPE: java_swift.JavaClass! {
4848
get {
4949
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE", fieldType: "Ljava/lang/Class;", fieldCache: &TYPE_FieldID, className: "java/lang/Boolean", classCache: &BooleanJNIClass )
5050
defer { JNI.DeleteLocalRef( __value ) }

Sources/Byte.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open class Byte: Number, JavaComparable {
2020

2121
private static var BYTES_FieldID: jfieldID?
2222

23-
open static var BYTES: Int {
23+
public static var BYTES: Int {
2424
get {
2525
let __value = JNIField.GetStaticIntField( fieldName: "BYTES", fieldType: "I", fieldCache: &BYTES_FieldID, className: "java/lang/Byte", classCache: &ByteJNIClass )
2626
return Int(__value)
@@ -31,7 +31,7 @@ open class Byte: Number, JavaComparable {
3131

3232
private static var MAX_VALUE_FieldID: jfieldID?
3333

34-
open static var MAX_VALUE: Int8 {
34+
public static var MAX_VALUE: Int8 {
3535
get {
3636
let __value = JNIField.GetStaticByteField( fieldName: "MAX_VALUE", fieldType: "B", fieldCache: &MAX_VALUE_FieldID, className: "java/lang/Byte", classCache: &ByteJNIClass )
3737
return __value
@@ -42,7 +42,7 @@ open class Byte: Number, JavaComparable {
4242

4343
private static var MIN_VALUE_FieldID: jfieldID?
4444

45-
open static var MIN_VALUE: Int8 {
45+
public static var MIN_VALUE: Int8 {
4646
get {
4747
let __value = JNIField.GetStaticByteField( fieldName: "MIN_VALUE", fieldType: "B", fieldCache: &MIN_VALUE_FieldID, className: "java/lang/Byte", classCache: &ByteJNIClass )
4848
return __value
@@ -53,7 +53,7 @@ open class Byte: Number, JavaComparable {
5353

5454
private static var SIZE_FieldID: jfieldID?
5555

56-
open static var SIZE: Int {
56+
public static var SIZE: Int {
5757
get {
5858
let __value = JNIField.GetStaticIntField( fieldName: "SIZE", fieldType: "I", fieldCache: &SIZE_FieldID, className: "java/lang/Byte", classCache: &ByteJNIClass )
5959
return Int(__value)
@@ -64,7 +64,7 @@ open class Byte: Number, JavaComparable {
6464

6565
private static var TYPE_FieldID: jfieldID?
6666

67-
open static var TYPE: java_swift.JavaClass! {
67+
public static var TYPE: java_swift.JavaClass! {
6868
get {
6969
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE", fieldType: "Ljava/lang/Class;", fieldCache: &TYPE_FieldID, className: "java/lang/Byte", classCache: &ByteJNIClass )
7070
defer { JNI.DeleteLocalRef( __value ) }

Sources/Character.swift

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

Sources/Character_UnicodeBlock.swift

Lines changed: 221 additions & 221 deletions
Large diffs are not rendered by default.

Sources/Character_UnicodeScript.swift

Lines changed: 103 additions & 103 deletions
Large diffs are not rendered by default.

Sources/ElementType.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ open class ElementTypeForward: JNIObjectForward {
5656

5757
private static var ANNOTATION_TYPE_FieldID: jfieldID?
5858

59-
open static var ANNOTATION_TYPE: ElementType! {
59+
public static var ANNOTATION_TYPE: ElementType! {
6060
get {
6161
let __value = JNIField.GetStaticObjectField( fieldName: "ANNOTATION_TYPE", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &ANNOTATION_TYPE_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
6262
defer { JNI.DeleteLocalRef( __value ) }
@@ -68,7 +68,7 @@ open class ElementTypeForward: JNIObjectForward {
6868

6969
private static var CONSTRUCTOR_FieldID: jfieldID?
7070

71-
open static var CONSTRUCTOR: ElementType! {
71+
public static var CONSTRUCTOR: ElementType! {
7272
get {
7373
let __value = JNIField.GetStaticObjectField( fieldName: "CONSTRUCTOR", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &CONSTRUCTOR_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
7474
defer { JNI.DeleteLocalRef( __value ) }
@@ -80,7 +80,7 @@ open class ElementTypeForward: JNIObjectForward {
8080

8181
private static var FIELD_FieldID: jfieldID?
8282

83-
open static var FIELD: ElementType! {
83+
public static var FIELD: ElementType! {
8484
get {
8585
let __value = JNIField.GetStaticObjectField( fieldName: "FIELD", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &FIELD_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
8686
defer { JNI.DeleteLocalRef( __value ) }
@@ -92,7 +92,7 @@ open class ElementTypeForward: JNIObjectForward {
9292

9393
private static var LOCAL_VARIABLE_FieldID: jfieldID?
9494

95-
open static var LOCAL_VARIABLE: ElementType! {
95+
public static var LOCAL_VARIABLE: ElementType! {
9696
get {
9797
let __value = JNIField.GetStaticObjectField( fieldName: "LOCAL_VARIABLE", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &LOCAL_VARIABLE_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
9898
defer { JNI.DeleteLocalRef( __value ) }
@@ -104,7 +104,7 @@ open class ElementTypeForward: JNIObjectForward {
104104

105105
private static var METHOD_FieldID: jfieldID?
106106

107-
open static var METHOD: ElementType! {
107+
public static var METHOD: ElementType! {
108108
get {
109109
let __value = JNIField.GetStaticObjectField( fieldName: "METHOD", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &METHOD_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
110110
defer { JNI.DeleteLocalRef( __value ) }
@@ -116,7 +116,7 @@ open class ElementTypeForward: JNIObjectForward {
116116

117117
private static var PACKAGE_FieldID: jfieldID?
118118

119-
open static var PACKAGE: ElementType! {
119+
public static var PACKAGE: ElementType! {
120120
get {
121121
let __value = JNIField.GetStaticObjectField( fieldName: "PACKAGE", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &PACKAGE_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
122122
defer { JNI.DeleteLocalRef( __value ) }
@@ -128,7 +128,7 @@ open class ElementTypeForward: JNIObjectForward {
128128

129129
private static var PARAMETER_FieldID: jfieldID?
130130

131-
open static var PARAMETER: ElementType! {
131+
public static var PARAMETER: ElementType! {
132132
get {
133133
let __value = JNIField.GetStaticObjectField( fieldName: "PARAMETER", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &PARAMETER_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
134134
defer { JNI.DeleteLocalRef( __value ) }
@@ -140,7 +140,7 @@ open class ElementTypeForward: JNIObjectForward {
140140

141141
private static var TYPE_FieldID: jfieldID?
142142

143-
open static var TYPE: ElementType! {
143+
public static var TYPE: ElementType! {
144144
get {
145145
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &TYPE_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
146146
defer { JNI.DeleteLocalRef( __value ) }
@@ -152,7 +152,7 @@ open class ElementTypeForward: JNIObjectForward {
152152

153153
private static var TYPE_PARAMETER_FieldID: jfieldID?
154154

155-
open static var TYPE_PARAMETER: ElementType! {
155+
public static var TYPE_PARAMETER: ElementType! {
156156
get {
157157
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE_PARAMETER", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &TYPE_PARAMETER_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
158158
defer { JNI.DeleteLocalRef( __value ) }
@@ -164,7 +164,7 @@ open class ElementTypeForward: JNIObjectForward {
164164

165165
private static var TYPE_USE_FieldID: jfieldID?
166166

167-
open static var TYPE_USE: ElementType! {
167+
public static var TYPE_USE: ElementType! {
168168
get {
169169
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE_USE", fieldType: "Ljava/lang/annotation/ElementType;", fieldCache: &TYPE_USE_FieldID, className: "java/lang/annotation/ElementType", classCache: &ElementTypeJNIClass )
170170
defer { JNI.DeleteLocalRef( __value ) }

Sources/Executable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ open class Executable: AccessibleObject, Member, GenericDeclaration {
4040

4141
private static var DECLARED_FieldID: jfieldID?
4242

43-
open static var DECLARED: Int {
43+
public static var DECLARED: Int {
4444
get {
4545
let __value = JNIField.GetStaticIntField( fieldName: "DECLARED", fieldType: "I", fieldCache: &DECLARED_FieldID, className: "java/lang/reflect/Executable", classCache: &ExecutableJNIClass )
4646
return Int(__value)
@@ -51,7 +51,7 @@ open class Executable: AccessibleObject, Member, GenericDeclaration {
5151

5252
private static var PUBLIC_FieldID: jfieldID?
5353

54-
open static var PUBLIC: Int {
54+
public static var PUBLIC: Int {
5555
get {
5656
let __value = JNIField.GetStaticIntField( fieldName: "PUBLIC", fieldType: "I", fieldCache: &PUBLIC_FieldID, className: "java/lang/reflect/Executable", classCache: &ExecutableJNIClass )
5757
return Int(__value)

Sources/Field.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ open class Field: AccessibleObject, Member {
5858

5959
private static var DECLARED_FieldID: jfieldID?
6060

61-
open static var DECLARED: Int {
61+
public static var DECLARED: Int {
6262
get {
6363
let __value = JNIField.GetStaticIntField( fieldName: "DECLARED", fieldType: "I", fieldCache: &DECLARED_FieldID, className: "java/lang/reflect/Field", classCache: &FieldJNIClass )
6464
return Int(__value)
@@ -69,7 +69,7 @@ open class Field: AccessibleObject, Member {
6969

7070
private static var PUBLIC_FieldID: jfieldID?
7171

72-
open static var PUBLIC: Int {
72+
public static var PUBLIC: Int {
7373
get {
7474
let __value = JNIField.GetStaticIntField( fieldName: "PUBLIC", fieldType: "I", fieldCache: &PUBLIC_FieldID, className: "java/lang/reflect/Field", classCache: &FieldJNIClass )
7575
return Int(__value)

Sources/Integer.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open class Integer: Number, JavaComparable {
2020

2121
private static var BYTES_FieldID: jfieldID?
2222

23-
open static var BYTES: Int {
23+
public static var BYTES: Int {
2424
get {
2525
let __value = JNIField.GetStaticIntField( fieldName: "BYTES", fieldType: "I", fieldCache: &BYTES_FieldID, className: "java/lang/Integer", classCache: &IntegerJNIClass )
2626
return Int(__value)
@@ -39,7 +39,7 @@ open class Integer: Number, JavaComparable {
3939

4040
private static var MAX_VALUE_FieldID: jfieldID?
4141

42-
open static var MAX_VALUE: Int {
42+
public static var MAX_VALUE: Int {
4343
get {
4444
let __value = JNIField.GetStaticIntField( fieldName: "MAX_VALUE", fieldType: "I", fieldCache: &MAX_VALUE_FieldID, className: "java/lang/Integer", classCache: &IntegerJNIClass )
4545
return Int(__value)
@@ -50,7 +50,7 @@ open class Integer: Number, JavaComparable {
5050

5151
private static var MIN_VALUE_FieldID: jfieldID?
5252

53-
open static var MIN_VALUE: Int {
53+
public static var MIN_VALUE: Int {
5454
get {
5555
let __value = JNIField.GetStaticIntField( fieldName: "MIN_VALUE", fieldType: "I", fieldCache: &MIN_VALUE_FieldID, className: "java/lang/Integer", classCache: &IntegerJNIClass )
5656
return Int(__value)
@@ -61,7 +61,7 @@ open class Integer: Number, JavaComparable {
6161

6262
private static var SIZE_FieldID: jfieldID?
6363

64-
open static var SIZE: Int {
64+
public static var SIZE: Int {
6565
get {
6666
let __value = JNIField.GetStaticIntField( fieldName: "SIZE", fieldType: "I", fieldCache: &SIZE_FieldID, className: "java/lang/Integer", classCache: &IntegerJNIClass )
6767
return Int(__value)
@@ -72,7 +72,7 @@ open class Integer: Number, JavaComparable {
7272

7373
private static var TYPE_FieldID: jfieldID?
7474

75-
open static var TYPE: java_swift.JavaClass! {
75+
public static var TYPE: java_swift.JavaClass! {
7676
get {
7777
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE", fieldType: "Ljava/lang/Class;", fieldCache: &TYPE_FieldID, className: "java/lang/Integer", classCache: &IntegerJNIClass )
7878
defer { JNI.DeleteLocalRef( __value ) }

Sources/JavaDouble.swift

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open class JavaDouble: Number, JavaComparable {
2020

2121
private static var BYTES_FieldID: jfieldID?
2222

23-
open static var BYTES: Int {
23+
public static var BYTES: Int {
2424
get {
2525
let __value = JNIField.GetStaticIntField( fieldName: "BYTES", fieldType: "I", fieldCache: &BYTES_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
2626
return Int(__value)
@@ -31,7 +31,7 @@ open class JavaDouble: Number, JavaComparable {
3131

3232
private static var MAX_EXPONENT_FieldID: jfieldID?
3333

34-
open static var MAX_EXPONENT: Int {
34+
public static var MAX_EXPONENT: Int {
3535
get {
3636
let __value = JNIField.GetStaticIntField( fieldName: "MAX_EXPONENT", fieldType: "I", fieldCache: &MAX_EXPONENT_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
3737
return Int(__value)
@@ -42,7 +42,7 @@ open class JavaDouble: Number, JavaComparable {
4242

4343
private static var MAX_VALUE_FieldID: jfieldID?
4444

45-
open static var MAX_VALUE: Double {
45+
public static var MAX_VALUE: Double {
4646
get {
4747
let __value = JNIField.GetStaticDoubleField( fieldName: "MAX_VALUE", fieldType: "D", fieldCache: &MAX_VALUE_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
4848
return __value
@@ -53,7 +53,7 @@ open class JavaDouble: Number, JavaComparable {
5353

5454
private static var MIN_EXPONENT_FieldID: jfieldID?
5555

56-
open static var MIN_EXPONENT: Int {
56+
public static var MIN_EXPONENT: Int {
5757
get {
5858
let __value = JNIField.GetStaticIntField( fieldName: "MIN_EXPONENT", fieldType: "I", fieldCache: &MIN_EXPONENT_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
5959
return Int(__value)
@@ -64,7 +64,7 @@ open class JavaDouble: Number, JavaComparable {
6464

6565
private static var MIN_NORMAL_FieldID: jfieldID?
6666

67-
open static var MIN_NORMAL: Double {
67+
public static var MIN_NORMAL: Double {
6868
get {
6969
let __value = JNIField.GetStaticDoubleField( fieldName: "MIN_NORMAL", fieldType: "D", fieldCache: &MIN_NORMAL_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
7070
return __value
@@ -75,7 +75,7 @@ open class JavaDouble: Number, JavaComparable {
7575

7676
private static var MIN_VALUE_FieldID: jfieldID?
7777

78-
open static var MIN_VALUE: Double {
78+
public static var MIN_VALUE: Double {
7979
get {
8080
let __value = JNIField.GetStaticDoubleField( fieldName: "MIN_VALUE", fieldType: "D", fieldCache: &MIN_VALUE_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
8181
return __value
@@ -86,7 +86,7 @@ open class JavaDouble: Number, JavaComparable {
8686

8787
private static var NEGATIVE_INFINITY_FieldID: jfieldID?
8888

89-
open static var NEGATIVE_INFINITY: Double {
89+
public static var NEGATIVE_INFINITY: Double {
9090
get {
9191
let __value = JNIField.GetStaticDoubleField( fieldName: "NEGATIVE_INFINITY", fieldType: "D", fieldCache: &NEGATIVE_INFINITY_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
9292
return __value
@@ -97,7 +97,7 @@ open class JavaDouble: Number, JavaComparable {
9797

9898
private static var NaN_FieldID: jfieldID?
9999

100-
open static var NaN: Double {
100+
public static var NaN: Double {
101101
get {
102102
let __value = JNIField.GetStaticDoubleField( fieldName: "NaN", fieldType: "D", fieldCache: &NaN_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
103103
return __value
@@ -108,7 +108,7 @@ open class JavaDouble: Number, JavaComparable {
108108

109109
private static var POSITIVE_INFINITY_FieldID: jfieldID?
110110

111-
open static var POSITIVE_INFINITY: Double {
111+
public static var POSITIVE_INFINITY: Double {
112112
get {
113113
let __value = JNIField.GetStaticDoubleField( fieldName: "POSITIVE_INFINITY", fieldType: "D", fieldCache: &POSITIVE_INFINITY_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
114114
return __value
@@ -119,7 +119,7 @@ open class JavaDouble: Number, JavaComparable {
119119

120120
private static var SIZE_FieldID: jfieldID?
121121

122-
open static var SIZE: Int {
122+
public static var SIZE: Int {
123123
get {
124124
let __value = JNIField.GetStaticIntField( fieldName: "SIZE", fieldType: "I", fieldCache: &SIZE_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
125125
return Int(__value)
@@ -130,7 +130,7 @@ open class JavaDouble: Number, JavaComparable {
130130

131131
private static var TYPE_FieldID: jfieldID?
132132

133-
open static var TYPE: java_swift.JavaClass! {
133+
public static var TYPE: java_swift.JavaClass! {
134134
get {
135135
let __value = JNIField.GetStaticObjectField( fieldName: "TYPE", fieldType: "Ljava/lang/Class;", fieldCache: &TYPE_FieldID, className: "java/lang/Double", classCache: &JavaDoubleJNIClass )
136136
defer { JNI.DeleteLocalRef( __value ) }

0 commit comments

Comments
 (0)