The Class File Contents Viewer (ClassVue) displays the contents of a Java class in a readable format.
Use the following command to run ClassVue:
classvue [options] [drive:][path] <classname.class> [>outputfile]
<options> | One or more ClassVue options. |
[drive:][path] <classname.class> | Specifies the name of the Java .class file to display. This must specify a drive or a path (or both) of the file if it is not in the current drive or directory. Include the .class file extension. |
[>outputfile] | Specifies an output file for the ClassVue results. (By default, ClassVue writes information to the standard output.) |
/cpno /cvue /d? /ivmal /ltd /min /q /readme /tables /v /?
ClassVue writes information to the standard output, listing a class overview and the offsets, sizes, types, and values of the constant pool, fields, methods, and attributes belonging to the class.
ClassVue generates seven description levels. By default, all levels are displayed. You can use the /min, /ltd, or /cpno options to alter the levels displayed. The description levels are shown in the following table.
D1 | Overview information |
D2 | Methods, fields, and classes |
D3 | Root data structures |
D4 | Constant pool |
D5 | Fields pool |
D6 | Methods pool |
D7 | Attributes pool |
The following command line generates information about a class named Hello:
classvue \SDK\Samples\Jexegen\Hello\Test\Hello.class