Package com.sun.codemodel

Interface Summary
CodeWriter Receives generated code and writes to the appropriate storage.
JAssignmentTarget Marker interface for code components that can be placed to the left of '=' in an assignment.
JClassContainer The common aspec of a package and a class.
JDeclaration Common interface for code components that can generate declarations of themselves.
JExpression Common interface for code components that can generate uses of themselves as expressions.
JStatement Common interface for code components that can generate uses of themselves as statements.
 

Class Summary
JArray JArray creation and initialization
JArrayClass Array class.
JArrayCompRef JArray component reference
JAssignment Assignment statements, which are also expressions.
JBlock A block of Java code.
JCase Case statement
JCast JMethod invocation
JCatchBlock Catch block for a try/catch/finally statement
JClass A Java class.
JCodeModel Root of the code DOM.
JConditional If statement, with optional else clause
JDefinedClass A generated Java class.
JDocComment JavaDoc comment.
JDoLoop Do loops
JExpr Factory methods that generate various expressions.
JExpressionImpl Provides default implementations for JExpression.
JFieldRef Field Reference
JFieldVar A field that can have a JDocComment associated with it
JForLoop For statement
JFormatter This is a utility class for managing indentation and other basic formatting for PrintWriter.
JInvocation JMethod invocation
JJavaName Utility methods that convert arbitrary strings into Java identifiers.
JLabel Label that can be used for continue and break
JMethod Java method
JMod Modifier constants.
JMods Modifier groups.
JNullType Special class object that represents the type of "null".
JOp JClass for generating expressions containing operators
JPackage A Java package.
JPrimitiveType Java built-in primitive types.
JResourceFile Represents a resource file in the application-specific file format.
JStringLiteral String literal.
JSwitch Switch statement
JTryBlock Try statement with Catch and/or Finally clause
JType JType constants and type factories.
JVar Variables and fields.
JWhileLoop While statement
JXDoclet XDoclet.
 

Exception Summary
JClassAlreadyExistsException Indicates that the class is already created.