Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
JAssignmentTarget |
Marker interface for code components that can be placed to
the left of '=' in an assignment.
|
interface |
JExpression |
A Java expression.
|
Modifier and Type | Class | Description |
---|---|---|
class |
JAnnotationArrayMember |
Represents an arrays as annotation members
|
class |
JAnnotationUse |
Represents an annotation on a program element.
|
class |
JAnnotationValue |
Things that can be values of an annotation element.
|
class |
JArray |
array creation and initialization.
|
class |
JAssignment |
Assignment statements, which are also expressions.
|
class |
JBlock |
A block of Java code, which may contain statements and local declarations.
|
class |
JCatchBlock |
Catch block for a try/catch/finally statement
|
class |
JClass |
Represents a Java reference type, such as a class, an interface,
an enum, an array type, a parameterized type.
|
class |
JDefinedClass |
A generated Java class/interface/enum/....
|
class |
JDocComment |
JavaDoc comment.
|
class |
JEnumConstant |
Enum Constant.
|
class |
JExpressionImpl |
Provides default implementations for
JExpression . |
class |
JFieldRef |
Field Reference
|
class |
JFieldVar |
A field that can have a
JDocComment associated with it |
class |
JInvocation |
JMethod invocation
|
class |
JMods |
Modifier groups.
|
class |
JNullType |
Special class object that represents the type of "null".
|
class |
JPackage |
A Java package.
|
class |
JPrimitiveType |
Java built-in primitive types.
|
class |
JStringLiteral |
String literal.
|
class |
JType |
A representation of a type in codeModel.
|
class |
JTypeVar |
Type variable used to declare generics.
|
class |
JVar |
Variables and fields.
|
Modifier and Type | Method | Description |
---|---|---|
JFormatter |
JFormatter.g(JGenerable g) |
Cause the JGenerable object to generate source for iteself
|
Modifier and Type | Method | Description |
---|---|---|
JFormatter |
JFormatter.g(Collection<? extends JGenerable> list) |
Produces
JGenerable s separated by ',' |
Copyright © 2018 Oracle Corporation. All rights reserved.