use of com.jetbrains.lang.dart.psi.DartClass in project intellij-plugins by JetBrains.
the class BaseDartGenerateHandler method computeSuperInterfacesMembersMap.
@NotNull
protected final Map<Pair<String, Boolean>, DartComponent> computeSuperInterfacesMembersMap(@NotNull final DartClass dartClass) {
final List<DartClass> superClasses = new ArrayList<>();
final List<DartClass> superInterfaces = new ArrayList<>();
DartResolveUtil.collectSupers(superClasses, superInterfaces, dartClass);
List<DartComponent> superInterfacesMembers = new ArrayList<>();
for (DartClass superInterface : superInterfaces) {
superInterfacesMembers.addAll(DartResolveUtil.getNamedSubComponents(superInterface));
}
superInterfacesMembers = ContainerUtil.filter(superInterfacesMembers, NOT_CONSTRUCTOR_CONDITION);
superInterfacesMembers = ContainerUtil.filter(superInterfacesMembers, NOT_STATIC_CONDITION);
return DartResolveUtil.namedComponentToMap(superInterfacesMembers);
}
Aggregations