Example #1
0
 protected @NonNull URI createPivotURI() {
   if (ecoreURI != null) {
     return PivotUtilInternal.getASURI(ecoreURI.trimFragment());
   }
   URI uri = ecoreResource.getURI();
   if (uri == null) {
     throw new IllegalStateException("Missing resource URI");
   }
   return PivotUtilInternal.getASURI(uri);
 }