code: @Override
  	public LightweightTypeReference newReferenceTo(Class<?> type) {
  		JvmType rawType = getServices().getTypeReferences().findDeclaredType(type, getContextResourceSet());
  		if (rawType == null) {
  			return newUnknownTypeReference(type.getName());
  		}
  		return toPlainTypeReference(rawType);
  	}
docs: Creates a references to the given class or returns an {@link UnknownTypeReference} if no
  JRE is available.