@Override
  @Nullable
  public RegExpGroup resolve() {
    final String groupName = getGroupName();
    return groupName == null ? null : resolve(groupName, getContainingFile());
  }
@Override
  @Nullable
  public RegExpGroup resolve()