Xrefactory s.r.o.







Xrefactory Java: [ Download | Change Log ]




Xrefactory for C/Java

A C and Java Refactoring Browser for Emacs and XEmacs.
Current version: 1.6.10


Xrefactory (also known as Xref, X-ref and Xref-Speller) is a professional development tool for C and Java providing code completion, source browsing and refactoring. It was the world's first Java tool "Crossing Refactoring's Rubicon". Xrefactory Java supports JDK versions less than 1.5.0!

Xrefactory features:

  • Full integration with Emacs and XEmacs.

  • Sources can be compiled under Unix (Linux, SunOs-Solaris, HP-UX, Mac OSX, etc.) and Windows (Cygwin) system.

  • Support for both C and Java languages (including JNI).

  • Source browsing based on our own tag implementation supporting multiple preprocessing passes and resolving scopes, accessibilities, overloading and polymorphism.

  • Designed to work with the largest projects. Xrefactory indexes all JDK 1.4 classes (1 million lines of code) in 2 minutes and the Linux kernel 2.4.7 sources (3 millions lines) in 15 minutes. Xrefactory is capable of updating its index by reparsing only modified files.

  • Refactorings for method (function) extraction; renaming of packages, classes, parameters, variables, fields (structure records) and methods (functions); insertion, deletion and moving of parameters, field and method moving; pushing down and pulling up fields and methods; encapsulate field; and more. Refactorings are safe with detection of possible conflicts.

  • Very solid implementation of code completion. Recognizing approximately 15 different contexts with completions auto-updated after each modification of source code without need for recompilation.

  • Functions for finding forgotten symbols.

  • Detection of unused variables, methods and functions.

  • Javadoc documentation available at your finger tips via hot keys.

  • Multiple projects support with project auto-detection.

  • Interfacing Emacs IDE functions from the compile.el and comint.el packages.

  • Capable of generating HTML documentation.

  • Full undo under Emacs and XEmacs.













Download



Distribution Editor Version
Xrefactory-i86pc-Linux Emacs, XEmacs 1.6.10 (C/Java)
Xrefactory-source-code Emacs, XEmacs 1.6.10 (C/Java)


Older versions available.


Prerequisites

1. Editor
You need Emacs or XEmacs installed on your computer. They are free software.

Emacs for Unix/Linux systems can be found at http://www.gnu.org/software/emacs GNU site. Most Linux distributions, and many other Unix systems come with Emacs pre-installed or pre-packaged for installation. All Emacs packages required by Xrefactory are included in the standard Emacs distribution.

XEmacs for nearly all platforms can be downloaded from http://www.xemacs.org pages. Most Xrefactory functions will work with the default XEmacs installation. Installation of the 'mail-lib' package is required for JavaDoc browsing and the 'xemacs-base' package is required for XEmacs IDE functions (compile, run, etc.).

2. JDK
For Java programming you will need Java Developers Kit (any version before jdk 1.5) installed on your machine. It is free and can be downloaded from http://java.sun.com/j2se.

Installation

  • Download Xrefactory distribution corresponding to your platform by clicking on the appropriate link from the table above. If your platform is not listed in the table, or you have some troubles, then select the xrefactory-source-code distribution containing the newest source based portable version. To finish the installation follow the appropriate instructions below:

  • Decompress and de-tar the downloaded file.

  • If you have downloaded source based distribution, goto the directory 'xref-any' and type:
    make
    
    When compilation finishes, goto the newly created directory "../xref" and continue by the next point.

  • To finish the installation, go to the created directory "xref" and type:
    sh ./xrefsetup
    











XREFACTORY FOR C/JAVA LICENSE AGREEMENT

  • 1.) SOFTWARE: Xrefactory for C/Java and associated documentation is referred as "the Software" in the rest of this document.

  • 2.) USAGE: You are free to download, install and store the software without a charge. You are free to use this software without charges in any project whether commercial or not.

  • 3.) RESELLING: You are NOT allowed to resell the software to third parties in any form.

  • 4.) WARRANTY: THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.






FREE LICENSE

If you are using an older version of Xrefactory 1.x.y, which may be protected, you can use the following license string.
0/0/0/1:free-license:f20f780bcf2b11






Sun and Solaris are trademarks of Sun Microsystems, Inc., Mac OS X is a trademark of Apple Computer, Inc., Linux is a trademark of Linus Torvalds, Windows is a trademark of Microsoft Corporation, Xrefactory is a trademark of Xref-Tech. All other trademarks listed on this site are trademarks of their respective owners.