protected AppState[] getStates() {
        synchronized (states) {
            return states.getArray();
        }
    }
Returns the Application to which this AppStateManager belongs.

@return the pre-existing instance
jme3-core/src/main/java/com/jme3/app/state/AppStateManager.java