Deprecated _tmp functions replaced by library ones
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ public class LazyJavaClassMemberScope(
|
||||
val methods = jClass.getMethods()
|
||||
val result = ArrayList<ValueParameterDescriptor>(methods.size())
|
||||
|
||||
for ((index, method) in methods.withIndices_tmp()) {
|
||||
for ((index, method) in methods.withIndices()) {
|
||||
assert(method.getValueParameters().isEmpty(), "Annotation method can't have parameters: " + method)
|
||||
|
||||
val jReturnType = method.getReturnType() ?: throw AssertionError("Annotation method has no return type: " + method)
|
||||
|
||||
+1
-1
@@ -173,7 +173,7 @@ public abstract class LazyJavaMemberScope(
|
||||
jValueParameters: List<JavaValueParameter>
|
||||
): ResolvedValueParameters {
|
||||
var synthesizedNames = false
|
||||
val descriptors = jValueParameters.withIndices_tmp().map_tmp {
|
||||
val descriptors = jValueParameters.withIndices().map {
|
||||
pair ->
|
||||
val (index, javaParameter) = pair
|
||||
|
||||
|
||||
+1
-1
@@ -191,7 +191,7 @@ class LazyJavaTypeResolver(
|
||||
return typeParameters.map { p -> TypeProjectionImpl(ErrorUtils.createErrorType(p.getName().asString())) }
|
||||
}
|
||||
var howTheProjectionIsUsed = if (attr.howThisTypeIsUsed == SUPERTYPE) SUPERTYPE_ARGUMENT else TYPE_ARGUMENT
|
||||
return javaType.getTypeArguments().withIndices_tmp().map_tmp {
|
||||
return javaType.getTypeArguments().withIndices().map {
|
||||
javaTypeParameter ->
|
||||
val (i, t) = javaTypeParameter
|
||||
val parameter = if (i >= typeParameters.size)
|
||||
|
||||
Reference in New Issue
Block a user