ConstantClass (Apache Tomcat 7.0.104 API Documentation)

org.apache.tomcat.util.bcel.classfile

## Class ConstantClass

- java.lang.Object
- - org.apache.tomcat.util.bcel.classfile.Constant
  - - org.apache.tomcat.util.bcel.classfile.ConstantClass

-     public final class ConstantClass
      extends Constant

  This class is derived from the abstract `Constant` and represents a reference to a (external) class.
  See Also:
    `Constant`

- - ### Field Summary

    - ### Fields inherited from class org.apache.tomcat.util.bcel.classfile.Constant

      `tag`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getNameIndex()`

    - ### Methods inherited from class org.apache.tomcat.util.bcel.classfile.Constant

      `getTag, toString`

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

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

- - ### Method Detail

    - #### getNameIndex

          public int getNameIndex()

      Returns:
        Name index in constant pool of class name.

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.