Package | Description |
---|---|
net.sourceforge.jenesis4java | |
net.sourceforge.jenesis4java.impl | |
net.sourceforge.jenesis4java.impl.util |
Modifier and Type | Interface and Description |
---|---|
interface |
ArgumentList<T extends Codeable>
A list of arguments that can be used in a call.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AbstractMethod
Declaration subinterface for an abstract method. |
interface |
Access
Classes that implement this interface are access controllable according to
the Java Language Specification.
|
interface |
Accessor
Expression subinterface for expressions which access data including
field accesses, array accesses, and method invocations. |
interface |
Annotation |
interface |
AnnotationAttribute
An AnnotationAttribute is the parameter of an
Annotation . |
interface |
ArrayAccess
Expression subinterface for array accesses. |
interface |
ArrayInitializer
Expression subinterface for array initializers. |
interface |
ArrayType
Type subinterface for array types. |
interface |
Assign
Expression subinterface for assignments. |
interface |
Binary
Expression subinterface for expressions which have left and right
operands. |
interface |
Blank
Expression subinterface for blank expressions. |
interface |
Block
The
Block superinterface. |
interface |
BooleanLiteral
Literal subinterface for boolean literals. |
interface |
Break
Statement subinterface for the break keyword. |
interface |
ByteLiteral
Literal subinterface for byte literals. |
interface |
CalendarClassType |
interface |
Case
Statement subinterface for the case construct in a
switch . |
interface |
Cast
Expression subinterface for casting. |
interface |
Catch
Statement subinterface for the catch construct in a
try . |
interface |
CharLiteral
Literal subinterface for char literals. |
interface |
ClassDeclaration
Declaration subinterface for the class declaration heirarchy. |
interface |
ClassField
Declaration subinterface for a general field which may occur in a
class. |
interface |
ClassLiteral
Literal subinterface for class literals. |
interface |
ClassMethod
Declaration subinterface for a method which may occur in a class and
is a Block . |
interface |
ClassType
Type subinterface for class types. |
interface |
Comment
The
Comment superinterface. |
interface |
CompilationUnit
Declaration subinterface for compilation units. |
interface |
ConditionalStatement
Statement subinterface for the conditional statements (statements
whose execution depends on the truthful evaluation of a predicate). |
interface |
Constant
Declaration subinterface for a Field which is static
and final . |
interface |
Constructor
Declaration subinterface for a class constructor. |
interface |
ConstructorForwarding
This interface represents a forwarding to another constructor, this is either
this() or super() . |
interface |
Continue
Statement subinterface for the continue keyword. |
interface |
Declaration
The
Declaration superinterface. |
interface |
Default
The
default case clause the optional final case of a switch
statement. |
interface |
DocumentationComment
Comment subinterface for documentation comments (javadoc). |
interface |
DoubleLiteral
Literal subinterface for double literals. |
interface |
DoWhile
Statement subinterface for the do while construct. |
interface |
Else
Statement subinterface for the else construct in an
if . |
interface |
ElseIf
Statement subinterface for the else if construct in an
if . |
interface |
Empty
Statement subinterface for the empty statement. |
interface |
Expression
The
Expression superinterface. |
interface |
ExpressionStatement
Statement subinterface for a general container of expressions such as
assignments, method invocations, field acesses, etc... |
interface |
False
Literal subinterface for false . |
interface |
Field
Declaration subinterface for a field. |
interface |
FieldAccess
Expression subinterface for field accesses. |
interface |
Finally
Statement subinterface for the finally construct in a
try . |
interface |
FloatLiteral
Literal subinterface for float literals. |
interface |
For
Statement subinterface for the for construct. |
interface |
FormalParameter
Declaration subinterface for formal parameter. |
interface |
Freeform
Expression subinterface for freeform expressions. |
interface |
If
Statement subinterface for the if, else if,
else construct. |
interface |
Import
Declaration subinterface for import declarations at the beginning of
a compilation unit. |
interface |
InitializationDeclaration
Declaration subinterface for an initialization structures including
static initializers and constructors. |
interface |
InnerClass
Declaration subinterface for an inner class. |
interface |
InnerInterface
Declaration subinterface for an inner class. |
interface |
Interface
Declaration subinterface for interfaces. |
interface |
IntLiteral
Literal subinterface for int literals. |
interface |
Invoke
Expression subinterface for method invocations (n-ary). |
interface |
Lambda
Models Java 8 lambda expressions.
|
interface |
Let
Statement subinterface for local variable declarations. |
interface |
Literal
The
Literal superinterface. |
interface |
LocalBlock
Statement subinterface for a local block. |
interface |
LocalClass
Declaration subinterface for a local class. |
interface |
LongLiteral
Literal subinterface for long literals. |
interface |
Member
Declaration subinterface for other declaration structures which may
belong to a class / interface. |
interface |
Method
Declaration subinterface for methods including abstract and class
methods. |
interface |
Namespace
Declaration subinterface for the package declaration at the beginning
of a compilation unit. |
interface |
NewAnonymousClass
Declaration subinterface for an anonymous class. |
interface |
NewArray
Expression subinterface for expressions which create new arrays. |
interface |
NewClass
Expression subinterface for expressions which create new non-array
objects. |
interface |
Null
Literal subinterface for the null literal. |
interface |
OctalLiteral
OctalLiteral subinterface for octal character literals. |
interface |
PackageClass
Declaration subinterface for the class declaration heirarchy. |
interface |
PrimitiveType
Type subinterface for primitive types. |
interface |
Return
Statement subinterface for the return keyword. |
interface |
ScientificLiteral
Literal subinterface for scientific floating point literals. |
interface |
ShortLiteral
Literal subinterface for short literals. |
interface |
Statement
The
Statement superinterface. |
interface |
StaticInitializer
Declaration subinterface for a static initialization block. |
interface |
StringLiteral
Literal subinterface for string literals. |
interface |
Super |
interface |
Switch
Statement subinterface for the switch construct. |
interface |
Synchronized
Statement subinterface for the synchronized construct. |
interface |
Ternary
Expression subinterface for expressions which have a three operands. |
interface |
This
Models the keyword
this . |
interface |
Throw
Statement subinterface for the throw keyword. |
interface |
True
Literal subinterface for true . |
interface |
Try
Statement subinterface for the try catch
finally construct. |
interface |
Type
The
Type superinterface. |
interface |
TypeDeclaration
Declaration subinterface for type declaration including class and
interface declarations. |
interface |
Unary
Expression subinterface for expressions which have a single operand. |
interface |
UnicodeLiteral
CharLiteral subinterface for unicode character literals. |
interface |
Variable
Expression subinterface for variables (references). |
interface |
While
Statement subinterface for the while construct. |
Modifier and Type | Method and Description |
---|---|
Codeable |
Codeable.applyStyle(Style style) |
Codeable |
Codeable.setComment(int type,
String text)
Sets the comment to the given type and text.
|
Codeable |
ReplacingVisitor.visitReplace(Codeable current,
Codeable parent)
This method is called for each field of the visited element.
|
Codeable |
ConditionalVisitor.visitReplace(Codeable current,
Codeable parent) |
Modifier and Type | Method and Description |
---|---|
List<Codeable> |
For.getInits()
Gets the comma separated list of initialzers from this for statement as
an List of
Expression OR a single Let object (depending
on how it was defined). |
List<Codeable> |
For.getUpdates()
Gets the comma separated list of updates from this for statement as an
List of
Expression . |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ConditionalVisitor.visit(Codeable current,
Codeable parent)
This method is called for each non-
null Codeable. |
Codeable |
ReplacingVisitor.visitReplace(Codeable current,
Codeable parent)
This method is called for each field of the visited element.
|
Codeable |
ConditionalVisitor.visitReplace(Codeable current,
Codeable parent) |
CodeWriter |
CodeWriter.write(Codeable codeable)
Instead of calling the
Object.toString() method, the
Object.toCode(CodeWriter) method is invoked with this as
the argument. |
CodeWriter |
CodeWriter.write(Codeable[] codeables)
Iterates the array and sends each element to
write(Codeable) . |
Modifier and Type | Method and Description |
---|---|
CodeWriter |
CodeWriter.write(List<? extends Codeable> codeables)
Iterates the array and sends each element to
write(Codeable) . |
Modifier and Type | Class and Description |
---|---|
class |
MExpression
Standard
Expression implementations. |
class |
MLambda
Implementation of the
Lambda interface. |
class |
MLiteral
Standard
Literal implementations. |
class |
MType
Standard
Type implementations. |
Modifier and Type | Method and Description |
---|---|
CodeWriter |
MCodeWriter.write(Codeable ico)
Instead of calling the
Object.toString() method, the
Object.toCode(public CodeWriter) method is invoked with
this as the argument. |
CodeWriter |
MCodeWriter.write(Codeable[] aico)
Iterates the array and sends each element to
write(Codeable) . |
Modifier and Type | Method and Description |
---|---|
CodeWriter |
MCodeWriter.write(List<? extends Codeable> codeables) |
Modifier and Type | Method and Description |
---|---|
static <T extends Codeable> |
VisitorUtils.visit(List<T> vs,
Codeable parent,
ReplacingVisitor visitor) |
static <T extends Codeable> |
VisitorUtils.visit(T[] vs,
Codeable parent,
ReplacingVisitor visitor) |
static <T extends Codeable> |
VisitorUtils.visit(T codeable,
Codeable parent,
ReplacingVisitor visitor) |
Modifier and Type | Method and Description |
---|---|
static <T extends Codeable> |
VisitorUtils.visit(List<T> vs,
Codeable parent,
ReplacingVisitor visitor) |
static Object |
VisitorUtils.visit(Object o,
Codeable parent,
ReplacingVisitor visitor) |
static <T extends Codeable> |
VisitorUtils.visit(T[] vs,
Codeable parent,
ReplacingVisitor visitor) |
static <T extends Codeable> |
VisitorUtils.visit(T[] vs,
Codeable parent,
ReplacingVisitor visitor) |
static <T extends Codeable> |
VisitorUtils.visit(T codeable,
Codeable parent,
ReplacingVisitor visitor) |
Modifier and Type | Method and Description |
---|---|
void |
BlockStyle.toCode(CodeWriter out,
List<? extends Codeable> codeables,
Comment inlineComment)
Sets an List of codeables to write as a block.
|
Copyright © 2000–2018 jenesis4java. All rights reserved.