File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public macro JavaField(_ javaFieldName: String? = nil) = #externalMacro(module:
106106/// }
107107/// ```
108108@attached ( accessor)
109- public macro StaticJavaField ( _ javaFieldName: String ? = nil ) = #externalMacro( module: " JavaKitMacros " , type: " JavaFieldMacro " )
109+ public macro JavaStaticField ( _ javaFieldName: String ? = nil ) = #externalMacro( module: " JavaKitMacros " , type: " JavaFieldMacro " )
110110
111111/// Attached macro that turns a Swift method into one that wraps a Java method on the underlying Java object.
112112///
Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ extension JavaClass<HelloSwift> {
109109
110110@JavaClass ( " com.example.swift.HelloSubclass " , extends: HelloSwift . self)
111111struct HelloSubclass {
112- @JavaField
112+ @JavaStaticField
113113 var greeting : String
114114
115115 @JavaMethod
116116 func greetMe( )
117117
118118 @JavaMethod
119119 init( greeting: String , environment: JNIEnvironment )
120- }
120+ }
You can’t perform that action at this time.
0 commit comments