@Nullable
  public static ReferenceType getSelectedClass(AnActionEvent e) {
    TypeInfo typeInfo = getSelectedTypeInfo(e);
    return extractReferenceType(typeInfo);
  }
@Nullable
  public static ReferenceType getSelectedClass(AnActionEvent e)