@@ -8,13 +8,13 @@ import java_lang
8
8
9
9
public protocol Condition : JavaProtocol {
10
10
11
- /// public abstract boolean java.util.concurrent.locks.Condition.await (long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
11
+ /// public abstract boolean java.util.concurrent.locks.Condition.javait (long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
12
12
13
- func await ( time: Int64 , unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool
13
+ func javait ( time: Int64 , unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool
14
14
15
- /// public abstract void java.util.concurrent.locks.Condition.await () throws java.lang.InterruptedException
15
+ /// public abstract void java.util.concurrent.locks.Condition.javait () throws java.lang.InterruptedException
16
16
17
- func await ( ) throws /* java.lang.InterruptedException */
17
+ func javait ( ) throws /* java.lang.InterruptedException */
18
18
19
19
/// public abstract long java.util.concurrent.locks.Condition.awaitNanos(long) throws java.lang.InterruptedException
20
20
@@ -43,11 +43,11 @@ open class ConditionForward: JNIObjectForward, Condition {
43
43
44
44
private static var ConditionJNIClass : jclass ?
45
45
46
- /// public abstract boolean java.util.concurrent.locks.Condition.await (long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
46
+ /// public abstract boolean java.util.concurrent.locks.Condition.javait (long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
47
47
48
48
private static var await_MethodID_8 : jmethodID ?
49
49
50
- open func await ( time: Int64 , unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool {
50
+ open func javait ( time: Int64 , unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool {
51
51
var __locals = [ jobject] ( )
52
52
var __args = [ jvalue] ( repeating: jvalue ( ) , count: 2 )
53
53
__args [ 0 ] = jvalue ( j: time )
@@ -60,15 +60,15 @@ open class ConditionForward: JNIObjectForward, Condition {
60
60
return __return != jboolean ( JNI_FALSE)
61
61
}
62
62
63
- open func await ( _ _time: Int64 , _ _unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool {
64
- return try await ( time: _time, unit: _unit )
63
+ open func javait ( _ _time: Int64 , _ _unit: TimeUnit ? ) throws /* java.lang.InterruptedException */ -> Bool {
64
+ return try javait ( time: _time, unit: _unit )
65
65
}
66
66
67
- /// public abstract void java.util.concurrent.locks.Condition.await () throws java.lang.InterruptedException
67
+ /// public abstract void java.util.concurrent.locks.Condition.javait () throws java.lang.InterruptedException
68
68
69
69
private static var await_MethodID_9 : jmethodID ?
70
70
71
- open func await ( ) throws /* java.lang.InterruptedException */ {
71
+ open func javait ( ) throws /* java.lang.InterruptedException */ {
72
72
var __locals = [ jobject] ( )
73
73
var __args = [ jvalue] ( repeating: jvalue ( ) , count: 1 )
74
74
JNIMethod . CallVoidMethod ( object: javaObject, methodName: " await " , methodSig: " ()V " , methodCache: & ConditionForward. await_MethodID_9, args: & __args, locals: & __locals )
0 commit comments