This is a way to  pause and resume a Thread in Java using AspectJ without using Thread.suspend() and Thread.resume() -- which are deprecated. This was built in response to a StackOverflow question and has been answered here https://stackoverflow.com/a/45786529/3013473