Package org.exolab.javasource

Interface Summary
JAnnotatedElement Interface defines methods for manipuling annotations held against various program code elements, such as classes, fields, methods etc.
JMember An interface which represents a Member of a JClass, modelled closely after the Java Reflection API.
 

Class Summary
Header Print the headers delineating the public and non-public elements of the compilation unit.
JAnnotatedElementHelper Class implements JAnnotatedElement interface on behalf of other classes in this package that implement this interface.
JAnnotation JAnnotation represents a single annotation against a code element.
JAnnotationType Class describes the definition of a annotation type class JAnnotationType annotationType = new JAnnotationType("RequestForEnhancement"); annotationType.addElement(new JAnnotationTypeElement("id", JType.Int)); annotationType.addElement(new JAnnotationTypeElement("synopsis", new JType("String"))); JAnnotationTypeElement enginer = new JAnnotationTypeElement("enginer", new JType("String")); enginer.setDefaultString("\"[unassigned]\""); annotationType.addElement(enginer); JAnnotationTypeElement date = new JAnnotationTypeElement("date", new JType("String")); date.setDefaultString("\"[unimplemented]\""); annotationType.addElement(date); Outputs public @interface RequestForEnhancement { int id(); String synopsis(); String enginer() default "[unassigned]"; String date() default "[unimplemented]"; }
JAnnotationTypeElement A class that holds information about a given annotation type element
JClass A representation of the Java Source code for a Java Class.
JCodeStatement Represents a line of code, used by JSourceCode class
JComment A class that represents a Java comment.
JCompUnit A representation of the Java Source code for a Java compilation unit.
JConstructor A class for handling source code for a constructor of a JClass
JDocComment A class that "SOMEWHAT" represents a Java Doc Comment.
JDocDescriptor A descriptor for a JavaDoc comment
JEnum Class describes the definition of a enum type class
JEnumConstant Class describes the definition of a enum constant
JField A class which holds information about a field.
JInterface A representation of the Java Source code for a Java Interface.
JMethod A class which holds information about the methods of a JClass.
JMethodSignature A class which holds information about the signtaure of a JMethod.
JModifiers The set of modifiers for a Method or Member variable
JNamedMap A simple String to Object mapping which preserves order.
JNaming A utility class used to validate identifiers and class names
JParameter Represents a parameter to a JMethod.
JSourceCode A class for holding in-memory Java source code.
JSourceWriter The writer used by the javasource classes
JStructure This class represents the basic Java "structure" for a Java source file.
JType Represents a primitive or class type
JTypeName Represents a class name
LineFormatter Formats a given String for use within a Java comment
 



Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com