Class ConstantPoolPrinter


  • public class ConstantPoolPrinter
    extends java.lang.Object
    Application which prints the Constant pool of a class file onto the console.
    Author:
    Franz-Josef Elmer
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Reads a class file and prints the constant pool onto System.out.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConstantPoolPrinter

        public ConstantPoolPrinter()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Reads a class file and prints the constant pool onto System.out.
        Parameters:
        args - File name of the class file in args[0]