getConditionByType

fun getConditionByType(type: String): (MethodDeclaration, String) -> Boolean