ClassStack (Apache Commons BCEL 6.6.1 API)

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

    - #### empty

          public boolean empty()

    - #### pop

          public JavaClass pop()

    - #### push

          public void push(JavaClass clazz)

    - #### top

          public JavaClass top()

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