mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Merge pull request #582 from hzsweers/z/fixGeneratedAnnotation
Fix GeneratedAnnotation member definition
This commit is contained in:
@@ -106,8 +106,8 @@ internal class AdapterGenerator(
|
|||||||
|
|
||||||
generatedOption?.let {
|
generatedOption?.let {
|
||||||
result.addAnnotation(AnnotationSpec.builder(it.asClassName())
|
result.addAnnotation(AnnotationSpec.builder(it.asClassName())
|
||||||
.addMember("%S", JsonClassCodegenProcessor::class.java.canonicalName)
|
.addMember("value = [%S]", JsonClassCodegenProcessor::class.java.canonicalName)
|
||||||
.addMember("%S", "https://github.com/square/moshi")
|
.addMember("comments = %S", "https://github.com/square/moshi")
|
||||||
.build())
|
.build())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user