public static void enterFrame(String className) {
        int counter = local.get().incrementAndGet();
        classNames.get().add(className);
        if (counter == MAX_STACK_DEPTH) {
            throw new RuntimeException(STACK_OVERFLOW_MSG + getClassNames());
        }
    }
public static void enterFrame(String className) {
        int counter = local.get().incrementAndGet();
        classNames.get().add(className);
        if (counter == MAX_STACK_DEPTH) {
            throw new RuntimeException(STACK_OVERFLOW_MSG + getClassNames());
        }
    }
public static void enterFrame ( String className ) { int counter = local . get ( ) . incrementAndGet ( ) ; classNames . get ( ) . add ( className ) ; if ( counter == MAX_STACK_DEPTH ) { throw new RuntimeException ( STACK_OVERFLOW_MSG + getClassNames ( ) ) ; } }
Increment the counter.
@param className name of class to enter.
Increment the counter .