I'd like to be able to refactor code with multiple remove:
.remove { nameStartsWith("local") }
.remove { colsOf<Boolean>().nameStartsWith("has") }
.remove { colsOf<Int>().nameStartsWith("num") }
.remove { modifiers }
.remove { isInitialized and fullyQualifiedName }
.remove { moduleName and path and text }
to singular remove + cols with multiple arbitrary grouped selectors
remove {
cols(
nameStartsWith("local"),
colsOf<Boolean>().nameStartsWith("has"),
colsOf<Int>().nameStartsWith("num"),
modifiers,
isInitialized and fullyQualifiedName,
moduleName and path and text,
)
}
What's possible now:
.remove {
nameStartsWith("local") and
colsOf<Boolean>().nameStartsWith("has") and
colsOf<Int>().nameStartsWith("num") and
modifiers and
isInitialized and fullyQualifiedName and
moduleName and path and text
}
I'd like to be able to refactor code with multiple remove:
to singular remove + cols with multiple arbitrary grouped selectors
What's possible now: