public final class RedundantCastUtility
extends java.lang.Object
| Constructor and Description |
|---|
RedundantCastUtility() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<CastExpression> |
getRedundantCastsInside(com.strobel.functions.Function<AstNode,ResolveResult> resolver,
AstNode site) |
static boolean |
isCastRedundant(com.strobel.functions.Function<AstNode,ResolveResult> resolver,
CastExpression cast) |
static void |
removeCast(CastExpression castExpression) |
@NotNull public static java.util.List<CastExpression> getRedundantCastsInside(com.strobel.functions.Function<AstNode,ResolveResult> resolver, AstNode site)
public static boolean isCastRedundant(com.strobel.functions.Function<AstNode,ResolveResult> resolver, CastExpression cast)
public static void removeCast(CastExpression castExpression)