public class RemoveRedundantTypeArgumentsUtil
extends java.lang.Object
Constructor and Description |
---|
RemoveRedundantTypeArgumentsUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
removeRedundantTypeArguments(PsiElement element)
Removes redundant type arguments which appear in any descendants of the supplied element.
|
static PsiElement |
replaceExplicitWithDiamond(PsiElement psiElement) |
public static PsiElement replaceExplicitWithDiamond(PsiElement psiElement)
public static void removeRedundantTypeArguments(PsiElement element)
element
- element to start the replacement from