Prevent recursion when processing star projection
This commit is contained in:
@@ -320,6 +320,7 @@ public class TypeUtils {
|
||||
result.invoke(new TypeParameterUsage((TypeParameterDescriptor) descriptor, howThisTypeIsUsed));
|
||||
}
|
||||
for (TypeProjection projection : type.getArguments()) {
|
||||
if (projection.isStarProjection()) continue;
|
||||
processAllTypeParameters(projection.getType(), projection.getProjectionKind(), result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user