示例#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();
 }