code: public static <S extends ResolvedDeclaration, S2 extends S> SymbolReference<S> solved(S2 symbolDeclaration) {
          return new SymbolReference<S>(Optional.of(symbolDeclaration));
      }
docs: Create a solve reference to the given symbol.