Prevent recursion when processing star projection

This commit is contained in:
Denis Zharkov
2015-07-30 18:46:16 +03:00
parent 37420527f2
commit 5b07eea1b9
@@ -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);
}
}