public class DefUseUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DefUseUtil.Info |
Modifier and Type | Method and Description |
---|---|
static PsiElement [] |
getDefs(PsiCodeBlock body,
PsiVariable def,
PsiElement ref) |
static PsiElement [] |
getDefs(PsiCodeBlock body,
PsiVariable def,
PsiElement ref,
boolean rethrow) |
static PsiElement [] |
getRefs(PsiCodeBlock body,
PsiVariable def,
PsiElement ref) |
static PsiElement[] |
getRefs(PsiCodeBlock body,
PsiVariable def,
PsiElement ref,
boolean rethrow) |
static java.util.List<DefUseUtil.Info> |
getUnusedDefs(PsiCodeBlock body,
java.util.Set<? super PsiVariable> outUsedVariables) |
public static java.util.List<DefUseUtil.Info> getUnusedDefs(PsiCodeBlock body, java.util.Set<? super PsiVariable> outUsedVariables)
public static PsiElement [] getDefs(PsiCodeBlock body, PsiVariable def, PsiElement ref)
public static PsiElement [] getDefs(PsiCodeBlock body, PsiVariable def, PsiElement ref, boolean rethrow)
public static PsiElement [] getRefs(PsiCodeBlock body, PsiVariable def, PsiElement ref)
public static PsiElement[] getRefs(PsiCodeBlock body, PsiVariable def, PsiElement ref, boolean rethrow)