void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
@Override void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ @Override void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
void checkModify() throws RuntimeException { if (isFrozen()) { String msg = getName() + " class is frozen"; if (wasPruned) msg += " and pruned"; throw new RuntimeException(msg); } wasChanged = true; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }
/** * Invoked from ClassPool#compress(). * It releases the class files that have not been recently used * if they are unmodified. */ void compress() { if (getCount < GET_THRESHOLD) if (!isModified() && ClassPool.releaseUnmodifiedClassFile) removeClassFile(); else if (isFrozen() && !wasPruned) saveClassFile(); getCount = 0; }