# classpy **Repository Path**: thghh/classpy ## Basic Information - **Project Name**: classpy - **Description**: 一个查看class字节码结构的工具 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-02-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Classpy Classpy is a GUI tool for investigating Java class files. ## Inspiration This tool is mainly inspired by [javap](http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javap.html) and [JavaClassViewer](http://www.codeproject.com/Articles/35915/Java-Class-Viewer). I reinvent the wheel for the following two reasons: 1. Learn Java class file format and bytecode through parsing it 2. Try JavaFX 8 ## Features * Understands class files described by [JVMS9](https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html) * Displays parsed class file as tree and hex text * The corresponding hex text is highlighted when you select a tree node ## Build ```shell cd path/to/classpy gradle uberjar ``` ## Run ```shell cd path/to/classpy gradle run ``` ## Screenshots ![Screenshot1](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot.png) ![Screenshot2](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot2.png)