System.currentTimeMillis() | now() |
new Date() | new Date(now()) |
Thread.sleep(ms) | pauseExecution(ms) |
Thread.*, executors | runIn, runEvery1Minute, runEvery5Minutes, etc. |
System.out.*, System.err.* | log.info, log.warn, log.error, log.debug |
reflection / Class.forName / .getClass() tricks | direct type references or explicit branching |
File, Files, java.nio.* writes | state, atomicState, HTTP, or preferences |
UUID.randomUUID() when sandbox behavior is uncertain | a now()-based id helper |
non-standard wire Content-Type (for example AWS application/x-amz-json-1.1) | pre-serialize body to a JSON String, put the real header in headers, keep contentType / requestContentType at application/json |