jclassinfo(1) utils jclassinfo(1)NAME
jclassinfo - Provides information for Java class files.
SYNOPSIS
jclassinfo [option] {classname | filename}
DESCRIPTION
jclassinfo reads a class file and provides all sorts of information about it. file can be - then jclassinfo reads a classfile from stan-
dard input.
OPTIONS --help Output help information and exit.
--version
Output version information and exit.
--bootclasspath=<path>
The path used to search for VM bootstrap classes.
--classpath=<path>
The path used to search for the class if a class name is given.
--xml Output xml (experimental).
--all Prints all information for the class.
--general-info
Prints some general information about the class.
--constant-pool
Print constant pool.
--visibility=<public | package | protected | private | synthetic>
The visibility to use when printing class fields/methods.
--fields
Print fields.
--methods
Print methods.
--disasm
Enable code disassembly for methods (if compiled with disassembly support).
--verbose
Show exception table and max stack and max locals for methods.
--method-debug-info
Show line numbers and local variables for methods.
--attributes
Print class attributes.
--packages
Print packages referenced.
--classes
Print classes/interfaces referenced.
--methods-ref
Print methods referenced.
--find-class {classname}
Find the file(s) that contains the given class(es).
--recursive
Scan dependencies recursively.
--quiet
Supress status messages.
FILES
No configuration files for the time being.
ENVIRONMENT
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.
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.
EXAMPLES
To see what packages a class uses:
jclassinfo --packages /usr/share/java/MyClass.class
To see what packages the classes in myproject folder use:
jclassinfo --packages myproject/*.class
AUTHORS
Nicos Panayides <anarxia@gmx.net>
REPORTING BUGS
Report bugs in
http://sourceforge.net/tracker/?group_id=74004&atid=539646
SEE ALSO javap(1), jcf-dump(1)jclassinfo 0.19 jclassinfo(1)
Check Out this Related Man Page
scaladoc(1) USER COMMANDS scaladoc(1)NAME
scaladoc - Documentation generator for the Scala 2 language
SYNOPSIS
scaladoc [ <options> ] <source files>
PARAMETERS
<options>
Command line options. See OPTIONS below.
<source files>
One or more source files to be compiled (such as MyClass.scala).
DESCRIPTION
The scaladoc tool reads class and object definitions, written in the Scala 2 programming language, and generates their API as HTML files.
By default, the generator puts each HTML file in the same directory as its source file. You can specify a separate destination directory
with -d (see OPTIONS, below).
The recognised format of comments in source is described in the online documentation
OPTIONS
Standard Options
-d <directory>
Specify where to generate documentation.
-version
Print product version and exit.
-help Print a synopsis of available options.
Documentation Options
-doc-title <title>
Define the overall title of the documentation, typically the name of the library being documented.
-doc-version <version>
Define the overall version number of the documentation, typically the version of the library being documented.
-doc-source-url <url>
Define a URL to be concatenated with source locations for link to source files.
Compiler Options
-verbose
Output messages about what the compiler is doing
-deprecation
Indicate whether source should be compiled with deprecation information; defaults to off (accepted values are: on, off, yes and no)
Available since Scala version 2.2.1
-classpath <path>
Specify where to find user class files (on Unix-based systems a colon-separated list of paths, on Windows-based systems, a semi-
colon-separate list of paths). This does not override the built-in ("boot") search path.
The default class path is the current directory. Setting the CLASSPATH variable or using the -classpath command-line option over-
rides that default, so if you want to include the current directory in the search path, you must include "." in the new settings.
-sourcepath <path>
Specify where to find input source files.
-bootclasspath <path>
Override location of bootstrap class files (where to find the standard built-in classes, such as "scala.List").
-extdirs <dirs>
Override location of installed extensions.
-encoding <encoding>
Specify character encoding used by source files.
The default value is platform-specific (Linux: "UTF8", Windows: "Cp1252"). Executing the following code in the Scala interpreter
will return the default value on your system:
scala> new java.io.InputStreamReader(System.in).getEncoding
EXIT STATUS
scaladoc returns a zero exist status if it succeeds to process the specified input files. Non zero is returned in case of failure.
AUTHORS
This version of Scaladoc was written by Gilles Dubochet with contributions by Pedro Furlanetto and Johannes Rudolph. It is based on the
original Scaladoc (Sean McDirmid, Geoffrey Washburn, Vincent Cremet and St?phane Michleoud), on vScaladoc (David Bernard), as well as on an
unreleased version of Scaladoc 2 (Manohar Jonnalagedda).
SEE ALSO fsc(1), sbaz(1), scala(1), scalac(1), scalap(1)version 2.0 2 June 2010 scaladoc(1)