Skip to content

Commit 234a3be

Browse files
authored
Apply suggestion from @ktoso
1 parent 50c3206 commit 234a3be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/SwiftJava/Macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public macro JavaStaticField(_ javaFieldName: String? = nil, isFinal: Bool = fal
141141
/// This allows the macro to form a call into the get() method, which at runtime, will have an `java.lang.Object`
142142
/// returning method signature, and then, convert the result to the expected `T` type on the Swift side.
143143
///
144-
/// If the return type is a wildcard type, specify the bound type instead of `java.lang.Object`:
144+
/// If the return type is a bounded type parameter, specify the bound type instead of `java.lang.Object`:
145145
/// ```swift
146146
/// // Java: class Test<T extends Animal> { public T get(); }
147147
/// @JavaMethod(typeErasedResult: "T!", typeErasedResultBound: Animal?.self)

0 commit comments

Comments
 (0)