File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ private fun FieldNode.buildFieldSignature(
126
126
companionClass = classes[companionName]
127
127
foundAnnotations.addAll(companionClass?.visibleAnnotations.orEmpty())
128
128
foundAnnotations.addAll(companionClass?.invisibleAnnotations.orEmpty())
129
- } else if (access. and ( Opcodes . ACC_STATIC ) != 0 && access. and ( Opcodes . ACC_FINAL ) != 0 ) {
129
+ } else if (isStatic(access) && isFinal(access) ) {
130
130
companionClass = ownerClass.companionName(ownerClass.kotlinMetadata)?.let {
131
131
classes[it]
132
132
}
@@ -137,7 +137,7 @@ private fun FieldNode.buildFieldSignature(
137
137
/*
138
138
* The property was moved from the companion object. Take all the annotations from there
139
139
* to be able to filter out the non-public markers.
140
- *
140
+ *
141
141
* See https://github.com/Kotlin/binary-compatibility-validator/issues/90
142
142
*/
143
143
foundAnnotations.addAll(companionClass!! .methods.annotationsFor(property.syntheticMethodForAnnotations))
You can’t perform that action at this time.
0 commit comments