예제 #1
0
 @Override
 public String toString() {
   try {
     if (lazyValue.isComputed()) {
       return getActualType().toString();
     } else {
       return "<Not computed yet>";
     }
   } catch (ReenteringLazyValueComputationException e) {
     return "<Failed to compute this type>";
   }
 }
예제 #2
0
 public boolean isComputed() {
   return lazyValue.isComputed();
 }