@@ -77,7 +77,7 @@ class Mappings(
7777 }
7878
7979 fun findParameterTypeMapping (filter : MappingMatcher , step : MappingStep ): TypeMapping ? {
80- val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep ()))
80+ val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep (" type " )))
8181 if (mappings.isEmpty()) {
8282 return null
8383 }
@@ -90,7 +90,7 @@ class Mappings(
9090 }
9191
9292 fun findAnnotationParameterTypeMapping (filter : MappingMatcher , step : MappingStep ): List <AnnotationTypeMapping > {
93- val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep ()))
93+ val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep (" type " )))
9494 if (mappings.isEmpty()) {
9595 return emptyList()
9696 }
@@ -99,7 +99,7 @@ class Mappings(
9999 }
100100
101101 fun findParameterNameTypeMapping (filter : MappingMatcher , step : MappingStep ): NameTypeMapping ? {
102- val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep ()))
102+ val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep (" name " )))
103103 if (mappings.isEmpty()) {
104104 return null
105105 }
@@ -112,7 +112,7 @@ class Mappings(
112112 }
113113
114114 fun findAnnotationParameterNameTypeMapping (filter : MappingMatcher , step : MappingStep ): List <AnnotationNameMapping > {
115- val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep ()))
115+ val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep (" name " )))
116116 if (mappings.isEmpty()) {
117117 return emptyList()
118118 }
@@ -121,7 +121,7 @@ class Mappings(
121121 }
122122
123123 fun findAddParameterTypeMappings (filter : MappingMatcher , step : MappingStep ): List <AddParameterTypeMapping > {
124- val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep ()))
124+ val mappings = parameterTypeMappings.filter(filter, step.add(ParametersStep (" type " )))
125125 if (mappings.isEmpty()) {
126126 return emptyList()
127127 }
0 commit comments