@Override
  public @NotNull List<PsiClass> getTargets() {
    GrReferenceList list =
      GroovyTokenTypes.kEXTENDS == myTarget.getNode().getElementType() ? myClass.getExtendsClause() : myClass.getImplementsClause();
    if (list == null) return Collections.emptyList();
    final PsiClassType[] classTypes = list.getReferencedTypes();
    return ContainerUtil.mapNotNull(classTypes, t->t.resolve());
  }
@Override
  public @NotNull List<PsiClass> getTargets()