Searched refs:guard (Results 1 – 9 of 9) sorted by relevance
54 private Guard guard; // the guard field in GuardedObject66 public GuardedObject(Object object, Guard guard) in GuardedObject() argument68 this.guard = guard; in GuardedObject()84 if (guard != null) in getObject()85 guard.checkGuard(object); in getObject()97 if (guard != null) in writeObject()98 guard.checkGuard(object); in writeObject()
87 private final CloseGuard guard = CloseGuard.get(); field in Inflater104 guard.open("end"); in Inflater()371 guard.close(); in end()386 if (guard != null) { in finalize()387 guard.warnIfOpen(); in finalize()
87 private final CloseGuard guard = CloseGuard.get(); field in Deflater171 guard.open("end"); in Deflater()526 guard.close(); in end()541 if (guard != null) { in finalize()542 guard.warnIfOpen(); in finalize()
69 private final CloseGuard guard = CloseGuard.get(); field in ZipFile230 guard.open("close"); in ZipFile()586 guard.close(); in close()643 if (guard != null) { in finalize()644 guard.warnIfOpen(); in finalize()
69 private final CloseGuard guard = CloseGuard.get(); field in FileInputStream147 guard.open("close"); in FileInputStream()348 guard.close(); in close()413 if (guard != null) { in finalize()414 guard.warnIfOpen(); in finalize()
83 private final CloseGuard guard = CloseGuard.get(); field in FileOutputStream222 guard.open("close"); in FileOutputStream()344 guard.close(); in close()411 if (guard != null) { in finalize()412 guard.warnIfOpen(); in finalize()
68 private final CloseGuard guard = CloseGuard.get(); field in RandomAccessFile255 guard.open("close"); in RandomAccessFile()620 guard.close(); in close()1157 if (guard != null) { in finalize()1158 guard.warnIfOpen(); in finalize()
61 private final CloseGuard guard = CloseGuard.get(); field in AbstractPlainDatagramSocketImpl87 guard.open("close"); in create()232 guard.close(); in close()246 if (guard != null) { in finalize()247 guard.warnIfOpen(); in finalize()
76 private final CloseGuard guard = CloseGuard.get(); field in AbstractPlainSocketImpl103 guard.open("close"); in create()548 if (guard != null) { in finalize()549 guard.warnIfOpen(); in finalize()621 guard.close(); in socketClose()