コード例 #1
0
 private static void markAsWritten(Field field)
 {
     FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field);
     if (info != null)
     {
         info.setWritten();
     }
 }
コード例 #2
0
 public static boolean isWritten(Field field) {
   FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field);
   return info == null || info.isWritten();
 }