| Package | Description |
|---|---|
| com.helger.jcodemodel |
Library for generating Java source code.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IJAssignmentTarget
Marker interface for code components that can be placed to the left of '=' in
an assignment.
|
interface |
IJExpression
A Java expression.
|
interface |
IJExpressionStatement
Expressions which can stand alone as statements, such as a += b; or ++i;
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJAnnotationValue
Things that can be values of an annotation element.
|
class |
AbstractJAnnotationValueOwned
Things that can be values of an annotation element and have an owning code
model (see
IJOwned). |
protected class |
AbstractJAnnotationValueOwned.FullClassNameExpr |
protected class |
AbstractJAnnotationValueOwned.JEnumConstantExpr |
class |
AbstractJClass
Represents a Java reference type, such as a class, an interface, an enum, an
array type, a parameterized type.
|
class |
AbstractJClassContainer<CLASSTYPE extends AbstractJClassContainer<CLASSTYPE>>
A generated Java class/interface/enum/annotation
This class models a declaration, and since a declaration can be always used as a reference, it inherits AbstractJClass. |
class |
AbstractJExpressionAssignmentTargetImpl
Abstract base class for expressions that also implement
IJAssignmentTarget. |
class |
AbstractJExpressionImpl
Provides default implementations for
IJExpression. |
class |
AbstractJType
A representation of a type in codeModel.
|
class |
JAnnotationArrayMember
Represents an arrays as annotation members
This class implements
IJAnnotatable to allow new annotations to be
added as a member of the array. |
class |
JAnnotationStringValue
Captures the value of the annotation.
|
class |
JAnnotationUse
Represents an annotation on a program element.
|
class |
JAnonymousClass
Anonymous class quick hack.
|
class |
JArray
array creation and initialization.
|
class |
JArrayClass
Array class.
|
class |
JArrayCompRef
array component reference.
|
class |
JAssignment
Assignment statements, which are also expressions.
|
class |
JAtom
JAtoms: Simple code components that merely generate themselves.
|
class |
JAtomDouble
A special atom for double values
|
class |
JAtomFloat
A special atom for float values
|
class |
JAtomInt
A special atom for int values
|
class |
JAtomLong
A special atom for long values
|
class |
JBlock
A block of Java code, which may contain statements and local declarations.
|
class |
JCast
A cast operation.
|
class |
JCatchBlock
Catch block for a try/catch/finally statement
|
class |
JDefinedClass
A generated Java class/interface/enum/....
|
class |
JDirectClass
A special
AbstractJClass that represents an unknown class (except its
name.) |
class |
JDocComment
JavaDoc comment.
|
class |
JEnumConstant
Enum Constant.
|
class |
JEnumConstantRef
Enum Constant reference.
|
class |
JErrorClass
A special
AbstractJClass that represents an error class. |
class |
JFieldRef
Field Reference
|
class |
JFieldVar
A field that can have a
JDocComment associated with it |
class |
JInvocation
JMethod invocation |
class |
JLambda
This is a single Java 8 lambda expression.
|
class |
JLambdaBlock
A special JBlock implementation that supports lambda expressions.
|
class |
JLambdaParam
This represent a single parameter to a Java 8 lambda expression.
|
class |
JMods
Modifier groups.
|
class |
JNarrowedClass
Represents X<Y>.
|
class |
JNullType
Special class object that represents the type of "null".
|
class |
JOpBinary |
class |
JOpTernary |
class |
JOpUnary |
class |
JOpUnaryTight |
class |
JPackage
A Java package.
|
class |
JPrimitiveType
Java built-in primitive types.
|
class |
JStringLiteral
String literal.
|
class |
JTypeVar
Type variable used to declare generics.
|
class |
JTypeVarClass
A special type variable that is used inside
JInvocation objects if
the parameter type is an AbstractJClass |
class |
JTypeWildcard
Represents a wildcard type like "?
|
class |
JVar
Variables and fields.
|
| Modifier and Type | Method and Description |
|---|---|
IJGenerable |
JOpTernary.expr2() |
IJGenerable |
JOpTernary.expr3() |
IJGenerable |
JFieldRef.object() |
IJGenerable |
JOpBinary.right() |
| Modifier and Type | Method and Description |
|---|---|
JFormatter |
JFormatter.generable(IJGenerable g)
Cause the JGenerable object to generate source for iteself
|
| Modifier and Type | Method and Description |
|---|---|
JFormatter |
JFormatter.generable(Collection<? extends IJGenerable> list)
Produces
IJGenerables separated by ',' |
| Constructor and Description |
|---|
JFieldRef(IJGenerable object,
JVar var,
boolean explicitThis) |
JFieldRef(IJGenerable object,
String name,
boolean explicitThis) |
JOpBinary(IJExpression aLeft,
String sOperator,
IJGenerable aRight) |
Copyright © 2013–2015 Philip Helger. All rights reserved.