org.apache.bcel.util

## Class ClassStack

- java.lang.Object
- - org.apache.bcel.util.ClassStack

-     public class ClassStack
      extends Object

  Utility class implementing a (typesafe) stack of JavaClass objects.
  See Also:
    `Stack`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassStack()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `empty()`
    `JavaClass` | `pop()`
    `void` | `push(JavaClass clazz)`
    `JavaClass` | `top()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClassStack

          public ClassStack()

  - ### Method Detail

    - #### push

          public void push(JavaClass clazz)

    - #### pop

          public JavaClass pop()

    - #### top

          public JavaClass top()

    - #### empty

          public boolean empty()

Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.