|
| 1 | +// Auto-generated by Java-to-Swift wrapper generator. |
| 2 | +import JavaKit |
| 3 | +import JavaRuntime |
| 4 | + |
| 5 | +@JavaClass("java.lang.reflect.Field", extends: AccessibleObject.self) |
| 6 | +public struct Field { |
| 7 | + @JavaMethod |
| 8 | + public func getName() -> String |
| 9 | + |
| 10 | + @JavaMethod |
| 11 | + public func get(_ arg0: JavaObject?) throws -> JavaObject? |
| 12 | + |
| 13 | + @JavaMethod |
| 14 | + public func equals(_ arg0: JavaObject?) -> Bool |
| 15 | + |
| 16 | + @JavaMethod |
| 17 | + public func toString() -> String |
| 18 | + |
| 19 | + @JavaMethod |
| 20 | + public func hashCode() -> Int32 |
| 21 | + |
| 22 | + @JavaMethod |
| 23 | + public func getModifiers() -> Int32 |
| 24 | + |
| 25 | + @JavaMethod |
| 26 | + public func getBoolean(_ arg0: JavaObject?) throws -> Bool |
| 27 | + |
| 28 | + @JavaMethod |
| 29 | + public func getByte(_ arg0: JavaObject?) throws -> Int8 |
| 30 | + |
| 31 | + @JavaMethod |
| 32 | + public func getShort(_ arg0: JavaObject?) throws -> Int16 |
| 33 | + |
| 34 | + @JavaMethod |
| 35 | + public func getChar(_ arg0: JavaObject?) throws -> UInt16 |
| 36 | + |
| 37 | + @JavaMethod |
| 38 | + public func getInt(_ arg0: JavaObject?) throws -> Int32 |
| 39 | + |
| 40 | + @JavaMethod |
| 41 | + public func getLong(_ arg0: JavaObject?) throws -> Int64 |
| 42 | + |
| 43 | + @JavaMethod |
| 44 | + public func getFloat(_ arg0: JavaObject?) throws -> Float |
| 45 | + |
| 46 | + @JavaMethod |
| 47 | + public func getDouble(_ arg0: JavaObject?) throws -> Double |
| 48 | + |
| 49 | + @JavaMethod |
| 50 | + public func toGenericString() -> String |
| 51 | + |
| 52 | + @JavaMethod |
| 53 | + public func isSynthetic() -> Bool |
| 54 | + |
| 55 | + @JavaMethod |
| 56 | + public func getDeclaringClass() -> JavaClass<JavaObject>? |
| 57 | + |
| 58 | + @JavaMethod |
| 59 | + public func getAnnotation(_ arg0: JavaClass<Annotation>?) -> Annotation? |
| 60 | + |
| 61 | + @JavaMethod |
| 62 | + public func getAnnotationsByType(_ arg0: JavaClass<Annotation>?) -> [Annotation?] |
| 63 | + |
| 64 | + @JavaMethod |
| 65 | + public func getDeclaredAnnotations() -> [Annotation?] |
| 66 | + |
| 67 | + @JavaMethod |
| 68 | + public func set(_ arg0: JavaObject?, _ arg1: JavaObject?) throws |
| 69 | + |
| 70 | + @JavaMethod |
| 71 | + public func setAccessible(_ arg0: Bool) |
| 72 | + |
| 73 | + @JavaMethod |
| 74 | + public func getGenericType() -> Type? |
| 75 | + |
| 76 | + @JavaMethod |
| 77 | + public func getType() -> JavaClass<JavaObject>? |
| 78 | + |
| 79 | + @JavaMethod |
| 80 | + public func setBoolean(_ arg0: JavaObject?, _ arg1: Bool) throws |
| 81 | + |
| 82 | + @JavaMethod |
| 83 | + public func setByte(_ arg0: JavaObject?, _ arg1: Int8) throws |
| 84 | + |
| 85 | + @JavaMethod |
| 86 | + public func setChar(_ arg0: JavaObject?, _ arg1: UInt16) throws |
| 87 | + |
| 88 | + @JavaMethod |
| 89 | + public func setShort(_ arg0: JavaObject?, _ arg1: Int16) throws |
| 90 | + |
| 91 | + @JavaMethod |
| 92 | + public func setInt(_ arg0: JavaObject?, _ arg1: Int32) throws |
| 93 | + |
| 94 | + @JavaMethod |
| 95 | + public func setLong(_ arg0: JavaObject?, _ arg1: Int64) throws |
| 96 | + |
| 97 | + @JavaMethod |
| 98 | + public func setFloat(_ arg0: JavaObject?, _ arg1: Float) throws |
| 99 | + |
| 100 | + @JavaMethod |
| 101 | + public func setDouble(_ arg0: JavaObject?, _ arg1: Double) throws |
| 102 | + |
| 103 | + @JavaMethod |
| 104 | + public func isEnumConstant() -> Bool |
| 105 | + |
| 106 | + @JavaMethod |
| 107 | + public func getAnnotatedType() -> AnnotatedType? |
| 108 | + |
| 109 | + @JavaMethod |
| 110 | + public func isAnnotationPresent(_ arg0: JavaClass<Annotation>?) -> Bool |
| 111 | + |
| 112 | + @JavaMethod |
| 113 | + public func getAnnotations() -> [Annotation?] |
| 114 | + |
| 115 | + @JavaMethod |
| 116 | + public func getDeclaredAnnotation(_ arg0: JavaClass<Annotation>?) -> Annotation? |
| 117 | + |
| 118 | + @JavaMethod |
| 119 | + public func getDeclaredAnnotationsByType(_ arg0: JavaClass<Annotation>?) -> [Annotation?] |
| 120 | + |
| 121 | + @JavaMethod |
| 122 | + public func trySetAccessible() -> Bool |
| 123 | + |
| 124 | + @JavaMethod |
| 125 | + public func canAccess(_ arg0: JavaObject?) -> Bool |
| 126 | + |
| 127 | + @JavaMethod |
| 128 | + public func isAccessible() -> Bool |
| 129 | + |
| 130 | + @JavaMethod |
| 131 | + public func getClass() -> JavaClass<JavaObject>? |
| 132 | + |
| 133 | + @JavaMethod |
| 134 | + public func notify() |
| 135 | + |
| 136 | + @JavaMethod |
| 137 | + public func notifyAll() |
| 138 | + |
| 139 | + @JavaMethod |
| 140 | + public func wait(_ arg0: Int64) throws |
| 141 | + |
| 142 | + @JavaMethod |
| 143 | + public func wait(_ arg0: Int64, _ arg1: Int32) throws |
| 144 | + |
| 145 | + @JavaMethod |
| 146 | + public func wait() throws |
| 147 | +} |
| 148 | +extension JavaClass<Field> { |
| 149 | + @JavaStaticMethod |
| 150 | + public func setAccessible(_ arg0: [AccessibleObject?], _ arg1: Bool) |
| 151 | +} |
0 commit comments