.TH "jclassinfo" "1" "0.19" "jclassinfo" "utils" .SH "NAME" .LP jclassinfo \- Provides information for Java class files. .SH "SYNOPSIS" .LP jclassinfo [\fIoption\fP] {\fIclassname\fP | \fIfilename\fP} .SH "DESCRIPTION" .LP jclassinfo reads a class file and provides all sorts of information about it. .I file can be .I - then .B jclassinfo reads a classfile from standard input. .SH "OPTIONS" .LP .TP \fB\-\-help\fR Output help information and exit. .TP \fB\-\-version\fR Output version information and exit. .TP \fB\-\-bootclasspath=<\fIpath\fP>\fR The path used to search for VM bootstrap classes. .TP \fB\-\-classpath=<\fIpath\fP>\fR The path used to search for the class if a class name is given. .TP \fB\-\-xml\fR Output xml (experimental). .TP \fB\-\-all\fR Prints all information for the class. .TP \fB\-\-general\-info\fR Prints some general information about the class. .TP \fB\-\-constant\-pool\fR Print constant pool. .TP \fB\-\-visibility=\fR The visibility to use when printing class fields/methods. .TP \fB\-\-fields\fR Print fields. .TP \fB\-\-methods\fR Print methods. .TP \fB\-\-disasm\fR Enable code disassembly for methods (if compiled with disassembly support). .TP \fB\-\-verbose\fR Show exception table and max stack and max locals for methods. .TP \fB\-\-method\-debug\-info\fR Show line numbers and local variables for methods. .TP \fB\-\-attributes\fR Print class attributes. .TP \fB\-\-packages\fR Print packages referenced. .TP \fB\-\-classes\fR Print classes/interfaces referenced. .TP \fB\-\-methods\-ref\fR Print methods referenced. .TP \fB\-\-find\-class {\fIclassname\fP} Find the file(s) that contains the given class(es). .TP \fB\-\-recursive\fR Scan dependencies recursively. .TP \fB\-\-quiet\fR Supress status messages. .SH "FILES" .LP No configuration files for the time being. .SH "ENVIRONMENT" .LP CLASSPATH is used to find classes if a class name is given instead of the filename. The \-\-classpath option can be used to override this. .LP JAVA_HOME is used to find the default bootstrap classpath. The default bootstrap classes are assumed to be in JAVA_HOME/jre/lib/rt.jar. The \-\-bootclasspath option can be used to override this. .SH "EXAMPLES" .LP To see what packages a class uses: .LP jclassinfo \-\-packages /usr/share/java/MyClass.class .LP To see what packages the classes in myproject folder use: .LP jclassinfo \-\-packages myproject/*.class .SH "AUTHORS" .LP Nicos Panayides .SH "REPORTING BUGS" .LP Report bugs in .LP http://sourceforge.net/tracker/?group_id=74004&atid=539646 .SH "SEE ALSO" .LP .BR "javap(1), jcf-dump(1)"