Skip to content

Commit c749211

Browse files
committed
Regenerate JavaKit module sources using @JavaStaticMethod
1 parent 9809404 commit c749211

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Sources/JavaKitNetwork/generated/URI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ public struct URI {
125125
public func wait() throws
126126
}
127127
extension JavaClass<URI> {
128-
@JavaMethod
128+
@JavaStaticMethod
129129
public func create(_ arg0: String) -> URI?
130130
}

Sources/JavaKitNetwork/generated/URLClassLoader.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ public struct URLClassLoader {
7474
public func wait() throws
7575
}
7676
extension JavaClass<URLClassLoader> {
77-
@JavaMethod
77+
@JavaStaticMethod
7878
public func newInstance(_ arg0: [URL?]) -> URLClassLoader?
7979

80-
@JavaMethod
80+
@JavaStaticMethod
8181
public func getSystemResource(_ arg0: String) -> URL?
8282

83-
@JavaMethod
83+
@JavaStaticMethod
8484
public func getSystemResources(_ arg0: String) throws -> Enumeration<URL>?
8585
}

Sources/JavaKitReflection/generated/AccessibleObject.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ public struct AccessibleObject {
6565
public func wait() throws
6666
}
6767
extension JavaClass<AccessibleObject> {
68-
@JavaMethod
68+
@JavaStaticMethod
6969
public func setAccessible(_ arg0: [AccessibleObject?], _ arg1: Bool)
7070
}

Sources/JavaKitReflection/generated/Constructor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ public struct Constructor<T: AnyJavaObject> {
122122
public func wait() throws
123123
}
124124
extension JavaClass {
125-
@JavaMethod
125+
@JavaStaticMethod
126126
public func setAccessible<T: AnyJavaObject>(_ arg0: [AccessibleObject?], _ arg1: Bool) where ObjectType == Constructor<T>
127127
}

Sources/JavaKitReflection/generated/Executable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ public struct Executable {
119119
public func wait() throws
120120
}
121121
extension JavaClass<Executable> {
122-
@JavaMethod
122+
@JavaStaticMethod
123123
public func setAccessible(_ arg0: [AccessibleObject?], _ arg1: Bool)
124124
}

Sources/JavaKitReflection/generated/Method.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ public struct Method {
137137
public func wait() throws
138138
}
139139
extension JavaClass<Method> {
140-
@JavaMethod
140+
@JavaStaticMethod
141141
public func setAccessible(_ arg0: [AccessibleObject?], _ arg1: Bool)
142142
}

0 commit comments

Comments
 (0)