code: private LinkRelation toLinkRelation(JavaClass javaClazz, JavaField javaField, ClassLoader compileClassLoader) {
      LinkRelation rel = new LinkRelation();
  
      rel.setShortDescription(buildShortDescription(javaField.getComment()));
      rel.setDescriptionMarkup(javaField.getComment());
  
      rel.setRel(getStaticFieldValue(javaClazz, javaField, compileClassLoader, String.class));
  
      LinkRelationDoc relDoc = getAnnotation(javaClazz, javaField, compileClassLoader, LinkRelationDoc.class);
      rel.setJsonSchemaRef(buildJsonSchemaRefModel(relDoc.jsonSchema(), relDoc.model()));
  
      Arrays.stream(relDoc.embedded()).forEach(embedded -> rel.addResourceRef(embedded.value(), embedded.description(),
          buildJsonSchemaRefModel(embedded.jsonSchema(), embedded.model())));
  
      Arrays.stream(relDoc.links()).forEach(link -> rel.addLinkRelationRef(link.value(), link.description()));
  
      return rel;
    }
docs: Builds a {@link LinkRelation} from a field definition with {@link LinkRelationDoc} annotation.
  @param javaClazz QDox class
  @param javaField QDox field
  @param compileClassLoader Classloader for compile dependencies
  @return Link relation