code: public ClassRef toInternalReference() {
          List<TypeRef> arguments = new ArrayList<TypeRef>();
          for (TypeParamDef parameter : parameters) {
              arguments.add(parameter.toReference());
          }
          return new ClassRefBuilder()
                  .withDefinition(this)
                  .withArguments(arguments)
                  .withAttributes(getAttributes())
                  .build();
      }
docs: Creates a {@link ClassRef} for internal use inside the scope of the type (methods, properties
  etc). It uses as arguments the same 'letters' as the parameters definition.