Child pages
  • About Usages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip
titleWelcome to your new space!

Confluence spaces are great for sharing content and news with your team. This is your home page. Right now it shows recent space activity, but you can customize this page in anyway you like.

Complete these tasks to get started

  •   Edit this home page - Click Edit in the top right of this screen to customize your Space home page
  •   Create your first page - Click the Create button in the header to get started
  •   Brand your Space - Click Configure Sidebar in the left panel to update space details and logo
  •   Set permissions - Click Space Tools in the left sidebar to update permissions and give others access

 

Usages Analysis Tool

This tool analyzes dependencies between Java classes. It scans ".class" files and analyzes all kinds of dependencies: usages of fields, usages of methods, extension of classes and implementation of interfaces, usages of annotations, overrides of methods. It is designed to gather and combine usages information from a number of projects and then use this collected usages information while refactoring libraries that are being used in those projects. Deprecated members that are safe to remove from the library can be automatically identified by the tool.

Download

Download binary of the latest release 2.2 here:

http://svn-code.devexperts.com/coderw/usages/releases/com/devexperts/usages/usages/2.2/usages-2.2.jar

Usage

Use this tool in one of the following ways:

Code Block
java -jar usages.jar <usage-jar-files>

Analyzes jar files looking for all members of other classes that use used from there. The results of this analysis are written to "usages.zip" file. This archive contains human-readable ".usages" files that capture detailed information about usages.

Code Block
java -jar usages.jar <usage-jar-files> --api <api-jar-files>

Analyzes all jar files looking for deprecated members of api jar files that are used from outside of them. The results of this analysis are written to "api.txt" file.

Here and can use wildcard like "lib/*.jar". Use "**" at the last level to scan subdirectories, like "lib/**.jar". Zip files with nested zip and jar files are supported and are recursively analyzed. The "usages.zip" file that is produced by the tool can be used in as a compact source of information about usages. Usages for the classes mentioned in "excludes" property are excluded from analysis.

The following JVM system properties are supported by this tool (their defaults are given):

  • -Dusages=usages.zip
  • -Dapi=api.txt
  • -Dexcludes=java.*,javax.*,javafx.*,sun.*,sunw.*,COM.rsa.*,com.sun.*,com.oracle.*

Recent space activity

Recently Updated
typespage, comment, blogpost
max5
hideHeadingtrue
themesocial

Space contributors

Contributors
modelist
scopedescendants
limit5
showLastTimetrue
orderupdate