Logo Search packages:      
Sourcecode: japitools version File versions  Download package

net::wuffies::japi::Japize Class Reference

List of all members.


Detailed Description

Process a Java API and emit a machine-readable description of the API, suitable for comparison to other APIs. Specifically, the perl script japicompat.pl can test APIs for source/binary compatibility with each other.

Author:
Stuart Ballard <stuart.a.ballard@gmail.com>

Definition at line 55 of file Japize.java.


Static Public Member Functions

static boolean checkIncluded (String cname)
static ClassWrapper getClassWrapper (String className) throws ClassNotFoundException
static boolean japizeClass (String n) throws NoSuchMethodException, IllegalAccessException
static void main (String[] args) throws NoSuchMethodException, IllegalAccessException, IOException, ClassNotFoundException
static String mkIfaceString (ClassWrapper c, String s, ClassType ctype, GenericWrapper wrapper)
static String mkIfaceString (ClassWrapper c, String s)
static void printEntry (String thing, String type, int mods, boolean deprecated, boolean enumField)
static void setClasspath (String cp) throws IOException

Static Package Functions

static ClassWrapper getWrapper (ClassType t)
static boolean includeException (NonArrayRefType[] excps, int index) throws ClassNotFoundException
static boolean isEntirelyVisible (CallWrapper call)
static boolean isEntirelyVisible (FieldWrapper field)
static boolean isEntirelyVisible (Type t)
static boolean isEntirelyVisible (ClassWrapper cls)
static boolean paramsEntirelyVisible (GenericWrapper wrapper)
static void processClass (String cls) throws NoSuchMethodException, IllegalAccessException, ClassNotFoundException
static void processPackage (String pkg) throws NoSuchMethodException, IllegalAccessException, ClassNotFoundException, IOException
static void scanDirForPackage (String pathElem, String pkg, SortedSet classes, SortedSet subpkgs) throws IOException
static void scanForPackage (String pathElem, String pkg, SortedSet classes, SortedSet subpkgs) throws IOException
static void scanZipForPackage (String pathElem, String pkg, SortedSet classes, SortedSet subpkgs) throws IOException

Static Private Member Functions

static void doJapize () throws NoSuchMethodException, IllegalAccessException, IOException, ClassNotFoundException
static void getFieldsAndCalls (ClassWrapper outer, ClassType ctype, Map fieldMap, Map callMap)
static String getObjComparableString (CallWrapper call) throws ClassNotFoundException
static String getTypeParamStr (GenericWrapper wrapper)
static String jencode (String str)
static void lintPrint (String s)
static void printUsage ()
static void processRootSet (SortedSet rootSet) throws NoSuchMethodException, IllegalAccessException, ClassNotFoundException, IOException
static void progress (String str)
static void progress (char ch)
static String to4charHexString (char ch)
static String toClassRoot (String pkgpath)

Static Private Attributes

static final int APIS = 2
static final int BYNAME = 3
static final int CLASSES = 5
static SortedSet exclusions = new TreeSet()
static final int EXPLICITLY = 1
static final String J_L_OBJECT = J_LANG + "Object"
static final String J_LANG = "java.lang,"
static ClassWrapper jlObjectWrapper
static PrintWriter lintOut
static HashSet objCalls = new HashSet()
static PrintWriter out
static final int PACKAGES = 4
static List path = new ArrayList()
static SortedSet roots = new TreeSet()
static final int UNSPECIFIED = 0

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index