headers
Working implementation of stack state listener in Java