mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Fix GeneratedAnnotation member definition
Before this was just adding both as varargs of "value"
This commit is contained in:
@@ -106,8 +106,8 @@ internal class AdapterGenerator(
|
||||
|
||||
generatedOption?.let {
|
||||
result.addAnnotation(AnnotationSpec.builder(it.asClassName())
|
||||
.addMember("%S", JsonClassCodegenProcessor::class.java.canonicalName)
|
||||
.addMember("%S", "https://github.com/square/moshi")
|
||||
.addMember("value = [%S]", JsonClassCodegenProcessor::class.java.canonicalName)
|
||||
.addMember("comments = %S", "https://github.com/square/moshi")
|
||||
.build())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user