refactor
This commit is contained in:
parent
9984e586b4
commit
772620c8ce
1 changed files with 2 additions and 4 deletions
|
|
@ -133,10 +133,8 @@ val lithoFilterPatch = bytecodePatch(
|
|||
// The only static method in the class.
|
||||
method -> AccessFlags.STATIC.isSet(method.accessFlags)
|
||||
}
|
||||
val emptyComponentField = classBy {
|
||||
// Only one field that matches.
|
||||
it.type == builderMethodDescriptor.returnType
|
||||
}.fields.single()
|
||||
|
||||
val emptyComponentField = classBy(builderMethodDescriptor.returnType).fields.single()
|
||||
|
||||
componentCreateFingerprint.method.apply {
|
||||
val insertIndex = if (is_19_17_or_greater) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue