public class InterfaceMemberDependencyGraph<T extends PsiMember,M extends MemberInfoBase<T>> extends java.lang.Object implements MemberDependencyGraph<T,M>
Modifier and Type | Field and Description |
---|---|
protected PsiClass |
myClass |
protected java.util.HashSet<PsiClass> |
myImplementedInterfaces |
protected java.util.HashSet<T> |
myInterfaceDependencies |
protected java.util.HashMap<T,java.util.HashSet<T>> |
myMembersToInterfacesMap |
protected java.util.HashMap<PsiClass,java.util.HashSet<T>> |
myMethodsFromInterfaces |
Constructor and Description |
---|
InterfaceMemberDependencyGraph(PsiClass aClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
addInterfaceDeps(PsiClass intf) |
java.util.Set<? extends T> |
getDependenciesOf(PsiMember member)
Returns PsiMembers of checked MemberInfos that member depends on.
|
java.util.Set<? extends T> |
getDependent()
Returns class members that are dependent on checked MemberInfos.
|
java.lang.String |
getElementTooltip(PsiMember member) |
void |
memberChanged(M memberInfo)
Call this to notify that a new memberInfo has been added
or the state of some memberInfo has been changed.
|
protected java.util.HashMap<T extends PsiMember,java.util.HashSet<T extends PsiMember>> myMembersToInterfacesMap
protected java.util.HashSet<PsiClass> myImplementedInterfaces
protected java.util.HashMap<PsiClass,java.util.HashSet<T extends PsiMember>> myMethodsFromInterfaces
protected PsiClass myClass
public InterfaceMemberDependencyGraph(PsiClass aClass)
public void memberChanged(M memberInfo)
MemberDependencyGraph
memberChanged
in interface MemberDependencyGraph<T extends PsiMember,M extends MemberInfoBase<T>>
public java.util.Set<? extends T> getDependent()
MemberDependencyGraph
getDependent
in interface MemberDependencyGraph<T extends PsiMember,M extends MemberInfoBase<T>>
public java.util.Set<? extends T> getDependenciesOf(PsiMember member)
MemberDependencyGraph
MemberDependencyGraph.getDependent()
.getDependenciesOf
in interface MemberDependencyGraph<T extends PsiMember,M extends MemberInfoBase<T>>
public java.lang.String getElementTooltip(PsiMember member)
protected void addInterfaceDeps(PsiClass intf)