A B C D E F G H I J L M N O P Q R S T U V W X Z _

A

ABSTRACT - Static variable in class com.sun.codemodel.JMod
 
add(String, String) - Method in class com.sun.codemodel.fmt.JPropertyFile
Adds key/value pair into the property file.
add(JExpression) - Method in class com.sun.codemodel.JArray
Add an element to the array initializer
add(JStatement) - Method in class com.sun.codemodel.JBlock
Adds a statement to this block
add(Object) - Method in class com.sun.codemodel.JCommentPart
 
addDeprecated() - Method in class com.sun.codemodel.JDocComment
add an @deprecated tag to the javadoc, with the associated message.
addParam(String) - Method in class com.sun.codemodel.JDocComment
Append a text to a @param tag to the javadoc
addParam(JVar) - Method in class com.sun.codemodel.JDocComment
Append a text to an @param tag.
addResourceFile(JResourceFile) - Method in class com.sun.codemodel.JPackage
Adds a new resource file to this package.
addReturn() - Method in class com.sun.codemodel.JDocComment
Appends a text to @return tag.
addThrows(Class<? extends Throwable>) - Method in class com.sun.codemodel.JDocComment
add an @throws tag to the javadoc
addThrows(JClass) - Method in class com.sun.codemodel.JDocComment
add an @throws tag to the javadoc
addXdoclet(String) - Method in class com.sun.codemodel.JDocComment
add an xdoclet.
addXdoclet(String, Map<String, String>) - Method in class com.sun.codemodel.JDocComment
add an xdoclet.
addXdoclet(String, String, String) - Method in class com.sun.codemodel.JDocComment
add an xdoclet.
annotate(JClass) - Method in interface com.sun.codemodel.JAnnotatable
Adds an annotation to this program element.
annotate(Class<? extends Annotation>) - Method in interface com.sun.codemodel.JAnnotatable
Adds an annotation to this program element.
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds a new annotation to the array.
annotate(JClass) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds a new annotation to the array.
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JAnnotationUse
Deprecated. use JAnnotationArrayMember.annotate(java.lang.Class)
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JDefinedClass
Adding ability to annotate a class
annotate(JClass) - Method in class com.sun.codemodel.JDefinedClass
Adding ability to annotate a class
annotate(JClass) - Method in class com.sun.codemodel.JEnumConstant
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JEnumConstant
Adds an annotation to this variable.
annotate(JClass) - Method in class com.sun.codemodel.JMethod
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JMethod
Adds an annotation to this variable.
annotate(JClass) - Method in class com.sun.codemodel.JPackage
 
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JPackage
 
annotate(JClass) - Method in class com.sun.codemodel.JVar
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JVar
Adds an annotation to this variable.
annotate2(Class<W>) - Method in interface com.sun.codemodel.JAnnotatable
Adds an annotation to this program element and returns a type-safe writer to fill in the values of such annotations.
annotate2(Class<W>) - Method in class com.sun.codemodel.JAnnotationArrayMember
 
annotate2(Class<W>) - Method in class com.sun.codemodel.JDefinedClass
 
annotate2(Class<W>) - Method in class com.sun.codemodel.JEnumConstant
 
annotate2(Class<W>) - Method in class com.sun.codemodel.JMethod
 
annotate2(Class<W>) - Method in class com.sun.codemodel.JPackage
 
annotate2(Class<W>) - Method in class com.sun.codemodel.JVar
 
ANNOTATION_TYPE_DECL - Static variable in class com.sun.codemodel.ClassType
 
annotationParam(String, Class<? extends Annotation>) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation For adding class values as param
annotations() - Method in interface com.sun.codemodel.JAnnotatable
Read-only live view of all annotations on this JAnnotatable
annotations() - Method in class com.sun.codemodel.JAnnotationArrayMember
JAnnotatable.annotations()
annotations() - Method in class com.sun.codemodel.JDefinedClass
JAnnotatable.annotations()
annotations() - Method in class com.sun.codemodel.JEnumConstant
JAnnotatable.annotations()
annotations() - Method in class com.sun.codemodel.JMethod
 
annotations() - Method in class com.sun.codemodel.JPackage
 
annotations() - Method in class com.sun.codemodel.JVar
 
anonymousClass(JClass) - Method in class com.sun.codemodel.JCodeModel
Creates a new anonymous class.
anonymousClass(Class<?>) - Method in class com.sun.codemodel.JCodeModel
 
append(Object) - Method in class com.sun.codemodel.JCommentPart
Appends a new value.
append(Object) - Method in class com.sun.codemodel.JDocComment
 
arg(JExpression) - Method in class com.sun.codemodel.JEnumConstant
Add an expression to this constructor's argument list
arg(JExpression) - Method in class com.sun.codemodel.JInvocation
Add an expression to this invocation's argument list
arg(String) - Method in class com.sun.codemodel.JInvocation
Adds a literal argument.
array() - Method in class com.sun.codemodel.JClass
 
array() - Method in class com.sun.codemodel.JPrimitiveType
 
array() - Method in class com.sun.codemodel.JType
Create an array type of this type.
assign(JExpression) - Method in interface com.sun.codemodel.JAssignmentTarget
 
assign(JAssignmentTarget, JExpression) - Method in class com.sun.codemodel.JBlock
Creates an assignment statement and adds it to this block.
assign(JAssignmentTarget, JExpression) - Static method in class com.sun.codemodel.JExpr
 
assign(JExpression) - Method in class com.sun.codemodel.JFieldRef
 
assign(JExpression) - Method in class com.sun.codemodel.JVar
 
assignPlus(JExpression) - Method in interface com.sun.codemodel.JAssignmentTarget
 
assignPlus(JAssignmentTarget, JExpression) - Method in class com.sun.codemodel.JBlock
 
assignPlus(JAssignmentTarget, JExpression) - Static method in class com.sun.codemodel.JExpr
 
assignPlus(JExpression) - Method in class com.sun.codemodel.JFieldRef
 
assignPlus(JExpression) - Method in class com.sun.codemodel.JVar
 

B

b(JVar) - Method in class com.sun.codemodel.JFormatter
Cause the JVar to generate source for itself
band(JExpression) - Method in interface com.sun.codemodel.JExpression
Bit-wise AND '&'.
band(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
band(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
binaryName() - Method in class com.sun.codemodel.JDefinedClass
 
binaryName() - Method in class com.sun.codemodel.JType
Gets the binary name of the type.
bind(JFormatter) - Method in class com.sun.codemodel.JVar
 
block() - Method in class com.sun.codemodel.JBlock
Create a sub-block and add it to this block
body() - Method in class com.sun.codemodel.JCase
 
body() - Method in class com.sun.codemodel.JCatchBlock
 
body() - Method in class com.sun.codemodel.JDoLoop
 
body() - Method in class com.sun.codemodel.JForEach
 
body() - Method in class com.sun.codemodel.JForLoop
 
body() - Method in class com.sun.codemodel.JMethod
Get the block that makes up body of this method
body() - Method in class com.sun.codemodel.JTryBlock
 
body() - Method in class com.sun.codemodel.JWhileLoop
 
BOOLEAN - Variable in class com.sun.codemodel.JCodeModel
 
bor(JExpression) - Method in interface com.sun.codemodel.JExpression
Bit-wise OR '|'.
bor(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
bor(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
bound(JClass) - Method in class com.sun.codemodel.JTypeVar
Adds a bound to this variable.
boxify() - Method in class com.sun.codemodel.JClass
Deprecated. calling this method from JClass would be meaningless, since it's always guaranteed to return this.
boxify() - Method in class com.sun.codemodel.JPrimitiveType
Obtains the wrapper class for this primitive type.
boxify() - Method in class com.sun.codemodel.JType
If this class is a primitive type, return the boxed class.
boxToPrimitive - Static variable in class com.sun.codemodel.JCodeModel
The reverse look up for JCodeModel.primitiveToBox
build(OutputStream) - Method in class com.sun.codemodel.fmt.JBinaryFile
 
build(OutputStream) - Method in class com.sun.codemodel.fmt.JPropertyFile
 
build(OutputStream) - Method in class com.sun.codemodel.fmt.JSerializedObject
called by JPackage to serialize the object
build(OutputStream) - Method in class com.sun.codemodel.fmt.JStaticFile
 
build(OutputStream) - Method in class com.sun.codemodel.fmt.JStaticJavaFile
 
build(OutputStream) - Method in class com.sun.codemodel.fmt.JTextFile
 
build(File, PrintStream) - Method in class com.sun.codemodel.JCodeModel
Generates Java source code.
build(File, File, PrintStream) - Method in class com.sun.codemodel.JCodeModel
Generates Java source code.
build(File) - Method in class com.sun.codemodel.JCodeModel
A convenience method for build(destDir,System.out).
build(File, File) - Method in class com.sun.codemodel.JCodeModel
A convenience method for build(srcDir,resourceDir,System.out).
build(CodeWriter) - Method in class com.sun.codemodel.JCodeModel
A convenience method for build(out,out).
build(CodeWriter, CodeWriter) - Method in class com.sun.codemodel.JCodeModel
Generates Java source code.
build(OutputStream) - Method in class com.sun.codemodel.JResourceFile
called by JPackage to produce the file image.
BYTE - Variable in class com.sun.codemodel.JCodeModel
 

C

cand(JExpression) - Method in interface com.sun.codemodel.JExpression
Logical AND '&&'.
cand(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
cand(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
canEncode(char) - Method in class com.sun.codemodel.util.MS1252Encoder
 
cases() - Method in class com.sun.codemodel.JSwitch
 
cast(JType, JExpression) - Static method in class com.sun.codemodel.JExpr
 
CHAR - Variable in class com.sun.codemodel.JCodeModel
 
CLASS - Static variable in class com.sun.codemodel.ClassType
 
classes() - Method in interface com.sun.codemodel.JClassContainer
Returns an iterator that walks the nested classes defined in this class.
classes() - Method in class com.sun.codemodel.JDefinedClass
Returns an iterator that walks the nested classes defined in this class.
classes() - Method in class com.sun.codemodel.JPackage
Returns an iterator that walks the top-level classes defined in this package.
ClassNameComparator - Class in com.sun.codemodel.util
Comparator object that sorts JClasses in the order of their names.
ClassType - Class in com.sun.codemodel
This helps enable whether the JDefinedClass is a Class or Interface or AnnotationTypeDeclaration or Enum
close() - Method in class com.sun.codemodel.CodeWriter
Called by CodeModel at the end of the process.
close() - Method in class com.sun.codemodel.JFormatter
Closes this formatter.
close() - Method in class com.sun.codemodel.writer.FileCodeWriter
 
close() - Method in class com.sun.codemodel.writer.FilterCodeWriter
 
close() - Method in class com.sun.codemodel.writer.SingleStreamCodeWriter
 
close() - Method in class com.sun.codemodel.writer.ZipCodeWriter
 
CodeWriter - Class in com.sun.codemodel
Receives generated code and writes to the appropriate storage.
CodeWriter() - Constructor for class com.sun.codemodel.CodeWriter
 
com.sun.codemodel - package com.sun.codemodel
Library for generating Java source code
com.sun.codemodel.fmt - package com.sun.codemodel.fmt
Various resource file formats (classes that implement JResourceFile).
com.sun.codemodel.util - package com.sun.codemodel.util
 
com.sun.codemodel.writer - package com.sun.codemodel.writer
 
compare(JClass, JClass) - Method in class com.sun.codemodel.util.ClassNameComparator
 
compareTo(JPackage) - Method in class com.sun.codemodel.JPackage
Order is based on the lexicological order of the package name.
compareTo(JType) - Method in class com.sun.codemodel.JType
Compare two JTypes by FQCN, giving sorting precedence to types that belong to packages java and javax over all others.
complement() - Method in interface com.sun.codemodel.JExpression
Returns "~[this]" from "[this]".
complement() - Method in class com.sun.codemodel.JExpressionImpl
 
complement(JExpression) - Static method in class com.sun.codemodel.JOp
 
component(JExpression, JExpression) - Static method in class com.sun.codemodel.JExpr
 
component(JExpression) - Method in interface com.sun.codemodel.JExpression
 
component(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
cond(JExpression, JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
constructor(int) - Method in class com.sun.codemodel.JDefinedClass
Adds a constructor to this class.
constructors() - Method in class com.sun.codemodel.JDefinedClass
Returns an iterator that walks the constructors defined in this class.
cor(JExpression) - Method in interface com.sun.codemodel.JExpression
Logical OR '||'.
cor(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
cor(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
core - Variable in class com.sun.codemodel.writer.FilterCodeWriter
 
countArtifacts() - Method in class com.sun.codemodel.JCodeModel
Returns the number of files to be generated if JCodeModel.build(java.io.File, java.io.PrintStream) is invoked now.
createEncoder(String) - Static method in class com.sun.codemodel.util.EncoderFactory
 

D

d(JDeclaration) - Method in class com.sun.codemodel.JFormatter
Cause the JDeclaration to generate source for itself
decl(JType, String) - Method in class com.sun.codemodel.JBlock
Adds a local variable declaration to this block
decl(JType, String, JExpression) - Method in class com.sun.codemodel.JBlock
Adds a local variable declaration to this block
decl(int, JType, String, JExpression) - Method in class com.sun.codemodel.JBlock
Adds a local variable declaration to this block
declare(JFormatter) - Method in interface com.sun.codemodel.JDeclaration
 
declare(JFormatter) - Method in class com.sun.codemodel.JDefinedClass
 
declare(JFormatter) - Method in class com.sun.codemodel.JEnumConstant
 
declare(JFormatter) - Method in class com.sun.codemodel.JFieldVar
 
declare(JFormatter) - Method in class com.sun.codemodel.JMethod
 
declare(JFormatter) - Method in class com.sun.codemodel.JPackage
 
declare(JFormatter) - Method in class com.sun.codemodel.JTypeVar
Prints out the declaration of the variable.
declare(JFormatter) - Method in class com.sun.codemodel.JVar
 
declareBody(JFormatter) - Method in class com.sun.codemodel.JDefinedClass
prints the body of a class.
declareDefaultValue(JExpression) - Method in class com.sun.codemodel.JMethod
Specify the default value for this annotation member
decr() - Method in interface com.sun.codemodel.JExpression
Returns "[this]--" from "[this]".
decr() - Method in class com.sun.codemodel.JExpressionImpl
 
decr(JExpression) - Static method in class com.sun.codemodel.JOp
 
direct(String) - Method in class com.sun.codemodel.JDefinedClass
Places the given string directly inside the generated class.
direct(String) - Static method in class com.sun.codemodel.JExpr
Creates an expression directly from a source code fragment.
directClass(String) - Method in class com.sun.codemodel.JCodeModel
Creates a dummy, unknown JClass that represents a given name.
directStatement(String) - Method in class com.sun.codemodel.JBlock
Creates a "literal" statement directly.
div(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]/[right]"
div(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
div(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
dotclass() - Method in class com.sun.codemodel.JClass
 
dotclass(JClass) - Static method in class com.sun.codemodel.JExpr
 
DOUBLE - Variable in class com.sun.codemodel.JCodeModel
 

E

elementType() - Method in class com.sun.codemodel.JType
If this is an array, returns the component type of the array.
EMPTY_ARRAY - Static variable in class com.sun.codemodel.JClass
Sometimes useful reusable empty array.
EncoderFactory - Class in com.sun.codemodel.util
Creates CharsetEncoder from a charset name.
EncoderFactory() - Constructor for class com.sun.codemodel.util.EncoderFactory
 
encoding - Variable in class com.sun.codemodel.CodeWriter
Encoding to be used by the writer.
ENUM - Static variable in class com.sun.codemodel.ClassType
 
enumConstant(String) - Method in class com.sun.codemodel.JDefinedClass
If the named enum already exists, the reference to it is returned.
eq(JExpression) - Method in interface com.sun.codemodel.JExpression
 
eq(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
eq(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
erasure() - Method in class com.sun.codemodel.JClass
 
erasure() - Method in class com.sun.codemodel.JType
Returns the erasure of this type.

F

FALSE - Static variable in class com.sun.codemodel.JExpr
Boolean constant that represents false
field(int, JType, String) - Method in class com.sun.codemodel.JDefinedClass
Adds a field to the list of field members of this JDefinedClass.
field(int, Class<?>, String) - Method in class com.sun.codemodel.JDefinedClass
 
field(int, JType, String, JExpression) - Method in class com.sun.codemodel.JDefinedClass
Adds a field to the list of field members of this JDefinedClass.
field(int, Class<?>, String, JExpression) - Method in class com.sun.codemodel.JDefinedClass
 
fields() - Method in class com.sun.codemodel.JDefinedClass
Returns all the fields declred in this class.
FileCodeWriter - Class in com.sun.codemodel.writer
Writes all the source files under the specified file folder.
FileCodeWriter(File) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
 
FileCodeWriter(File, String) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
 
FileCodeWriter(File, boolean) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
 
FileCodeWriter(File, boolean, String) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
 
FilterCodeWriter - Class in com.sun.codemodel.writer
CodeWriter that delegates to another CodeWriter.
FilterCodeWriter(CodeWriter) - Constructor for class com.sun.codemodel.writer.FilterCodeWriter
 
FINAL - Static variable in class com.sun.codemodel.JMod
 
FLOAT - Variable in class com.sun.codemodel.JCodeModel
 
forEach(JType, String, JExpression) - Method in class com.sun.codemodel.JBlock
Creates an enhanced For statement based on j2se 1.5 JLS and add it to this block
format(JFormatter, String) - Method in class com.sun.codemodel.JCommentPart
Writes this part into the formatter by using the specified indentation.
fullName() - Method in class com.sun.codemodel.JDefinedClass
Gets the fully qualified name of this class.
fullName() - Method in class com.sun.codemodel.JNullType
 
fullName() - Method in class com.sun.codemodel.JPrimitiveType
 
fullName() - Method in class com.sun.codemodel.JType
Gets the full name of the type.
fullName() - Method in class com.sun.codemodel.JTypeVar
 

G

g(JGenerable) - Method in class com.sun.codemodel.JFormatter
Cause the JGenerable object to generate source for iteself
g(Collection<? extends JGenerable>) - Method in class com.sun.codemodel.JFormatter
Produces JGenerables separated by ','
generate(JFormatter) - Method in class com.sun.codemodel.JAnnotationArrayMember
 
generate(JFormatter) - Method in class com.sun.codemodel.JAnnotationUse
 
generate(JFormatter) - Method in class com.sun.codemodel.JArray
 
generate(JFormatter) - Method in class com.sun.codemodel.JAssignment
 
generate(JFormatter) - Method in class com.sun.codemodel.JBlock
 
generate(JFormatter) - Method in class com.sun.codemodel.JCatchBlock
 
generate(JFormatter) - Method in class com.sun.codemodel.JClass
 
generate(JFormatter) - Method in class com.sun.codemodel.JDocComment
 
generate(JFormatter) - Method in class com.sun.codemodel.JEnumConstant
 
generate(JFormatter) - Method in class com.sun.codemodel.JFieldRef
 
generate(JFormatter) - Method in interface com.sun.codemodel.JGenerable
 
generate(JFormatter) - Method in class com.sun.codemodel.JInvocation
 
generate(JFormatter) - Method in class com.sun.codemodel.JMods
 
generate(JFormatter) - Method in class com.sun.codemodel.JPackage
 
generate(JFormatter) - Method in class com.sun.codemodel.JPrimitiveType
 
generate(JFormatter) - Method in class com.sun.codemodel.JStringLiteral
 
generate(JFormatter) - Method in class com.sun.codemodel.JTypeVar
 
generate(JFormatter) - Method in class com.sun.codemodel.JVar
 
generify(String) - Method in class com.sun.codemodel.JDefinedClass
 
generify(String, Class<?>) - Method in class com.sun.codemodel.JDefinedClass
 
generify(String, JClass) - Method in class com.sun.codemodel.JDefinedClass
 
generify(String) - Method in interface com.sun.codemodel.JGenerifiable
Adds a new type variable to this declaration.
generify(String, Class<?>) - Method in interface com.sun.codemodel.JGenerifiable
Adds a new type variable to this declaration with a bound.
generify(String, JClass) - Method in interface com.sun.codemodel.JGenerifiable
Adds a new type variable to this declaration with a bound.
getAnnotationClass() - Method in class com.sun.codemodel.JAnnotationUse
 
getAnnotationMembers() - Method in class com.sun.codemodel.JAnnotationUse
 
getAnnotationType() - Method in interface com.sun.codemodel.JAnnotationWriter
The type of the annotation that this writer is writing.
getAnnotationUse() - Method in interface com.sun.codemodel.JAnnotationWriter
Gets the underlying annotation use object to which we are writing.
getBaseClass(JClass) - Method in class com.sun.codemodel.JClass
Gets the parameterization of the given base type.
getBaseClass(Class<?>) - Method in class com.sun.codemodel.JClass
 
getClassType() - Method in class com.sun.codemodel.JDefinedClass
 
getConstructor(JType[]) - Method in class com.sun.codemodel.JDefinedClass
Looks for a method that has the specified method signature and return it.
getContents() - Method in class com.sun.codemodel.JBlock
Returns a read-only view of JStatements and JDeclaration in this block.
getDataStore() - Method in class com.sun.codemodel.fmt.JBinaryFile
 
getExistingClass() - Method in exception com.sun.codemodel.JClassAlreadyExistsException
Gets a reference to the existing JDefinedClass.
getFile(JPackage, String) - Method in class com.sun.codemodel.writer.FileCodeWriter
 
getJClass() - Method in class com.sun.codemodel.fmt.JStaticJavaFile
Returns a class object that represents a statically generated code.
getMethod(String, JType[]) - Method in class com.sun.codemodel.JDefinedClass
Looks for a method that has the specified method signature and return it.
getMods() - Method in class com.sun.codemodel.JMethod
Deprecated. use JMethod.mods()
getName() - Method in class com.sun.codemodel.JEnumConstant
Returns the name of this constant.
getPackage() - Method in interface com.sun.codemodel.JClassContainer
Gets the nearest package parent.
getPackage() - Method in class com.sun.codemodel.JDefinedClass
 
getPackage() - Method in class com.sun.codemodel.JPackage
 
getPluralForm(String) - Static method in class com.sun.codemodel.JJavaName
Experimental API: converts an English word into a plural form.
getPrimitiveType() - Method in class com.sun.codemodel.JClass
If this class represents one of the wrapper classes defined in the java.lang package, return the corresponding primitive type.
getTypeParameters() - Method in class com.sun.codemodel.JClass
If this class is parameterized, return the type parameter of the given index.
getValue() - Method in class com.sun.codemodel.JMods
Gets the bit-packed representaion of modifiers.
getWrapperClass() - Method in class com.sun.codemodel.JPrimitiveType
Deprecated. Use JPrimitiveType.boxify().
gt(JExpression) - Method in interface com.sun.codemodel.JExpression
 
gt(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
gt(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
gte(JExpression) - Method in interface com.sun.codemodel.JExpression
 
gte(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
gte(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 

H

hasResourceFile(String) - Method in class com.sun.codemodel.JPackage
Checks if a resource of the given name exists.
hasSignature(JType[]) - Method in class com.sun.codemodel.JMethod
Returns true if the method has the specified signature.
hasVarArgs() - Method in class com.sun.codemodel.JMethod
Check if there are any varargs declared for this method signature.
hide() - Method in class com.sun.codemodel.JDefinedClass
Mark this file as hidden, so that this file won't be generated.

I

i() - Method in class com.sun.codemodel.JFormatter
Increment the indentation level.
id(String) - Method in class com.sun.codemodel.JFormatter
Print an identifier
incr() - Method in interface com.sun.codemodel.JExpression
Returns "[this]++" from "[this]".
incr() - Method in class com.sun.codemodel.JExpressionImpl
 
incr(JExpression) - Static method in class com.sun.codemodel.JOp
 
init() - Method in class com.sun.codemodel.JDefinedClass
Creates, if necessary, and returns the static initializer for this class.
init(int, JType, String, JExpression) - Method in class com.sun.codemodel.JForLoop
 
init(JType, String, JExpression) - Method in class com.sun.codemodel.JForLoop
 
init(JVar, JExpression) - Method in class com.sun.codemodel.JForLoop
 
init(JExpression) - Method in class com.sun.codemodel.JVar
Initialize this variable
INT - Variable in class com.sun.codemodel.JCodeModel
 
INTERFACE - Static variable in class com.sun.codemodel.ClassType
 
invoke(JExpression, String) - Method in class com.sun.codemodel.JBlock
Creates an invocation statement and adds it to this block.
invoke(JExpression, JMethod) - Method in class com.sun.codemodel.JBlock
Creates an invocation statement and adds it to this block.
invoke(String) - Method in class com.sun.codemodel.JBlock
Creates an invocation statement and adds it to this block.
invoke(JMethod) - Method in class com.sun.codemodel.JBlock
Creates an invocation statement and adds it to this block.
invoke(String) - Static method in class com.sun.codemodel.JExpr
 
invoke(JMethod) - Static method in class com.sun.codemodel.JExpr
 
invoke(JExpression, JMethod) - Static method in class com.sun.codemodel.JExpr
 
invoke(JExpression, String) - Static method in class com.sun.codemodel.JExpr
 
invoke(JMethod) - Method in interface com.sun.codemodel.JExpression
Returns "[this].[method]".
invoke(String) - Method in interface com.sun.codemodel.JExpression
Returns "[this].[method]".
invoke(JMethod) - Method in class com.sun.codemodel.JExpressionImpl
 
invoke(String) - Method in class com.sun.codemodel.JExpressionImpl
 
isAbstract() - Method in class com.sun.codemodel.JClass
Checks if this class is an abstract class.
isAbstract() - Method in class com.sun.codemodel.JDefinedClass
 
isAbstract() - Method in class com.sun.codemodel.JMods
 
isAbstract() - Method in class com.sun.codemodel.JNullType
 
isAbstract() - Method in class com.sun.codemodel.JTypeVar
 
isAnnotated() - Method in class com.sun.codemodel.JVar
 
isAnnotationTypeDeclaration() - Method in class com.sun.codemodel.JDefinedClass
This method indicates if the interface is an annotationTypeDeclaration
isAnonymous() - Method in class com.sun.codemodel.JDefinedClass
Returns true if this is an anonymous class.
isArray() - Method in class com.sun.codemodel.JType
Tell whether or not this is an array type.
isAssignableFrom(JClass) - Method in class com.sun.codemodel.JClass
Checks the relationship between two classes.
isCaseSensitiveFileSystem - Static variable in class com.sun.codemodel.JCodeModel
If the flag is true, we will consider two classes "Foo" and "foo" as a collision.
isClass() - Method in interface com.sun.codemodel.JClassContainer
Returns true if the container is a class.
isClass() - Method in class com.sun.codemodel.JDefinedClass
 
isClass() - Method in class com.sun.codemodel.JPackage
 
isDefined(String) - Method in class com.sun.codemodel.JPackage
Checks if a given name is already defined as a class/interface
isEmpty() - Method in class com.sun.codemodel.JBlock
Returns true if this block is empty and does not contain any statement.
isFullyQualifiedClassName(String) - Static method in class com.sun.codemodel.JJavaName
Checks if the given string is a valid fully qualified name.
isHidden() - Method in class com.sun.codemodel.JDefinedClass
 
isInterface() - Method in class com.sun.codemodel.JClass
Checks if this object represents an interface.
isInterface() - Method in class com.sun.codemodel.JDefinedClass
 
isInterface() - Method in class com.sun.codemodel.JNullType
 
isInterface() - Method in class com.sun.codemodel.JTypeVar
 
isJavaIdentifier(String) - Static method in class com.sun.codemodel.JJavaName
Checks if a given string is usable as a Java identifier.
isJavaPackageName(String) - Static method in class com.sun.codemodel.JJavaName
Checks if the given string is a valid Java package name.
isNative() - Method in class com.sun.codemodel.JMods
 
isPackage() - Method in interface com.sun.codemodel.JClassContainer
Returns true if the container is a package.
isPackage() - Method in class com.sun.codemodel.JDefinedClass
 
isPackage() - Method in class com.sun.codemodel.JPackage
 
isParameterized() - Method in class com.sun.codemodel.JClass
Returns true if this class is a parameterized class.
isPrimitive() - Method in class com.sun.codemodel.JPrimitiveType
 
isPrimitive() - Method in class com.sun.codemodel.JType
Tell whether or not this is a built-in primitive type, such as int or void.
isPrinting() - Method in class com.sun.codemodel.JFormatter
Returns true if we are in the printing mode, where we actually produce text.
isReference() - Method in class com.sun.codemodel.JType
Returns true if this is a referenced type.
isResource() - Method in class com.sun.codemodel.fmt.JStaticFile
 
isResource() - Method in class com.sun.codemodel.fmt.JStaticJavaFile
 
isResource() - Method in class com.sun.codemodel.JResourceFile
Returns true if this file should be generated into the directory that the resource files go into.
isSynchronized() - Method in class com.sun.codemodel.JMods
 
isUnnamed() - Method in class com.sun.codemodel.JPackage
Checks if this package is the root, unnamed package.

J

JAnnotatable - Interface in com.sun.codemodel
Annotatable program elements.
JAnnotationArrayMember - Class in com.sun.codemodel
Represents an arrays as annotation members
JAnnotationUse - Class in com.sun.codemodel
Represents an annotation on a program element.
JAnnotationValue - Class in com.sun.codemodel
Things that can be values of an annotation element.
JAnnotationValue() - Constructor for class com.sun.codemodel.JAnnotationValue
 
JAnnotationWriter<A extends Annotation> - Interface in com.sun.codemodel
Base interface for typed annotation writer.
JArray - Class in com.sun.codemodel
array creation and initialization.
JAssignment - Class in com.sun.codemodel
Assignment statements, which are also expressions.
JAssignmentTarget - Interface in com.sun.codemodel
Marker interface for code components that can be placed to the left of '=' in an assignment.
javadoc() - Method in class com.sun.codemodel.JDefinedClass
Creates, if necessary, and returns the class javadoc for this JDefinedClass
javadoc() - Method in interface com.sun.codemodel.JDocCommentable
 
javadoc() - Method in class com.sun.codemodel.JEnumConstant
Creates, if necessary, and returns the enum constant javadoc.
javadoc() - Method in class com.sun.codemodel.JFieldVar
Creates, if necessary, and returns the class javadoc for this JDefinedClass
javadoc() - Method in class com.sun.codemodel.JMethod
Creates, if necessary, and returns the class javadoc for this JDefinedClass
javadoc() - Method in class com.sun.codemodel.JPackage
Creates, if necessary, and returns the package javadoc for this JDefinedClass.
JavadocEscapeWriter - Class in com.sun.codemodel.util
Writer that escapes characters that are unsafe as Javadoc comments.
JavadocEscapeWriter(Writer) - Constructor for class com.sun.codemodel.util.JavadocEscapeWriter
 
JBinaryFile - Class in com.sun.codemodel.fmt
Allows the application to use OutputStream to define data that will be stored into a file.
JBinaryFile(String) - Constructor for class com.sun.codemodel.fmt.JBinaryFile
 
JBlock - Class in com.sun.codemodel
A block of Java code, which may contain statements and local declarations.
JBlock() - Constructor for class com.sun.codemodel.JBlock
 
JBlock(boolean, boolean) - Constructor for class com.sun.codemodel.JBlock
 
JCase - Class in com.sun.codemodel
Case statement
JCatchBlock - Class in com.sun.codemodel
Catch block for a try/catch/finally statement
JClass - Class in com.sun.codemodel
Represents a Java reference type, such as a class, an interface, an enum, an array type, a parameterized type.
JClass(JCodeModel) - Constructor for class com.sun.codemodel.JClass
 
JClassAlreadyExistsException - Exception in com.sun.codemodel
Indicates that the class is already created.
JClassAlreadyExistsException(JDefinedClass) - Constructor for exception com.sun.codemodel.JClassAlreadyExistsException
 
JClassContainer - Interface in com.sun.codemodel
The common aspect of a package and a class.
JCodeModel - Class in com.sun.codemodel
Root of the code DOM.
JCodeModel() - Constructor for class com.sun.codemodel.JCodeModel
 
JCommentPart - Class in com.sun.codemodel
A part is a part of a javadoc comment, and it is a list of values.
JCommentPart() - Constructor for class com.sun.codemodel.JCommentPart
 
JConditional - Class in com.sun.codemodel
If statement, with optional else clause
JDeclaration - Interface in com.sun.codemodel
Common interface for code components that can generate declarations of themselves.
JDefinedClass - Class in com.sun.codemodel
A generated Java class/interface/enum/....
JDocComment - Class in com.sun.codemodel
JavaDoc comment.
JDocComment(JCodeModel) - Constructor for class com.sun.codemodel.JDocComment
 
JDocCommentable - Interface in com.sun.codemodel
Program elements that can have Javadoc
JDoLoop - Class in com.sun.codemodel
Do loops
JEnumConstant - Class in com.sun.codemodel
Enum Constant.
JExpr - Class in com.sun.codemodel
Factory methods that generate various JExpressions.
JExpression - Interface in com.sun.codemodel
A Java expression.
JExpressionImpl - Class in com.sun.codemodel
Provides default implementations for JExpression.
JExpressionImpl() - Constructor for class com.sun.codemodel.JExpressionImpl
 
JFieldRef - Class in com.sun.codemodel
Field Reference
JFieldVar - Class in com.sun.codemodel
A field that can have a JDocComment associated with it
JForEach - Class in com.sun.codemodel
ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.
JForEach(JType, String, JExpression) - Constructor for class com.sun.codemodel.JForEach
 
JForLoop - Class in com.sun.codemodel
For statement
JForLoop() - Constructor for class com.sun.codemodel.JForLoop
 
JFormatter - Class in com.sun.codemodel
This is a utility class for managing indentation and other basic formatting for PrintWriter.
JFormatter(PrintWriter, String) - Constructor for class com.sun.codemodel.JFormatter
Creates a JFormatter.
JFormatter(PrintWriter) - Constructor for class com.sun.codemodel.JFormatter
Creates a formatter with default incremental indentations of four spaces.
JFormatter(Writer) - Constructor for class com.sun.codemodel.JFormatter
Creates a formatter with default incremental indentations of four spaces.
JGenerable - Interface in com.sun.codemodel
Common interface for code components that can generate uses of themselves.
JGenerifiable - Interface in com.sun.codemodel
Declarations that can have type variables.
JInvocation - Class in com.sun.codemodel
JMethod invocation
JJavaName - Class in com.sun.codemodel
Utility methods that convert arbitrary strings into Java identifiers.
JJavaName() - Constructor for class com.sun.codemodel.JJavaName
 
JLabel - Class in com.sun.codemodel
Label that can be used for continue and break.
JMethod - Class in com.sun.codemodel
Java method.
JMod - Class in com.sun.codemodel
Modifier constants.
JMod() - Constructor for class com.sun.codemodel.JMod
 
JMods - Class in com.sun.codemodel
Modifier groups.
JNullType - Class in com.sun.codemodel
Special class object that represents the type of "null".
JOp - Class in com.sun.codemodel
JClass for generating expressions containing operators
JPackage - Class in com.sun.codemodel
A Java package.
JPrimitiveType - Class in com.sun.codemodel
Java built-in primitive types.
JPropertyFile - Class in com.sun.codemodel.fmt
A property file.
JPropertyFile(String) - Constructor for class com.sun.codemodel.fmt.JPropertyFile
 
JResourceFile - Class in com.sun.codemodel
Represents a resource file in the application-specific file format.
JResourceFile(String) - Constructor for class com.sun.codemodel.JResourceFile
 
JSerializedObject - Class in com.sun.codemodel.fmt
A simple class that takes an object and serializes it into a file in the parent package with the given name.
JSerializedObject(String, Object) - Constructor for class com.sun.codemodel.fmt.JSerializedObject
 
JStatement - Interface in com.sun.codemodel
Common interface for code components that can generate uses of themselves as statements.
JStaticFile - Class in com.sun.codemodel.fmt
Allows an application to copy a resource file to the output.
JStaticFile(String) - Constructor for class com.sun.codemodel.fmt.JStaticFile
 
JStaticFile(String, boolean) - Constructor for class com.sun.codemodel.fmt.JStaticFile
 
JStaticFile(ClassLoader, String, boolean) - Constructor for class com.sun.codemodel.fmt.JStaticFile
 
JStaticJavaFile - Class in com.sun.codemodel.fmt
Statically generated Java soruce file.
JStaticJavaFile(JPackage, String, String) - Constructor for class com.sun.codemodel.fmt.JStaticJavaFile
 
JStaticJavaFile(JPackage, String, URL, JStaticJavaFile.LineFilter) - Constructor for class com.sun.codemodel.fmt.JStaticJavaFile
 
JStaticJavaFile.ChainFilter - Class in com.sun.codemodel.fmt
A JStaticJavaFile.LineFilter that combines two JStaticJavaFile.LineFilters.
JStaticJavaFile.ChainFilter(JStaticJavaFile.LineFilter, JStaticJavaFile.LineFilter) - Constructor for class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
 
JStaticJavaFile.LineFilter - Interface in com.sun.codemodel.fmt
Filter that alters the Java source code.
JStringLiteral - Class in com.sun.codemodel
String literal.
JSwitch - Class in com.sun.codemodel
Switch statement
JTextFile - Class in com.sun.codemodel.fmt
Simple text file.
JTextFile(String) - Constructor for class com.sun.codemodel.fmt.JTextFile
 
JTryBlock - Class in com.sun.codemodel
Try statement with Catch and/or Finally clause
JType - Class in com.sun.codemodel
A representation of a type in codeModel.
JType() - Constructor for class com.sun.codemodel.JType
 
JTypeVar - Class in com.sun.codemodel
Type variable used to declare generics.
JVar - Class in com.sun.codemodel
Variables and fields.
JWhileLoop - Class in com.sun.codemodel
While statement

L

label(String) - Method in class com.sun.codemodel.JBlock
Create a label, which can be referenced from continue and break statements.
label() - Method in class com.sun.codemodel.JCase
 
listArgs() - Method in class com.sun.codemodel.JInvocation
Returns all arguments of the invocation.
listClasses() - Method in class com.sun.codemodel.JDefinedClass
Returns all the nested classes defined in this class.
listParams() - Method in class com.sun.codemodel.JMethod
Returns all the parameters in an array.
listParamTypes() - Method in class com.sun.codemodel.JMethod
Returns all the parameter types in an array.
listVarParam() - Method in class com.sun.codemodel.JMethod
Returns the variable parameter
listVarParamType() - Method in class com.sun.codemodel.JMethod
Returns the varags parameter type.
lit(boolean) - Static method in class com.sun.codemodel.JExpr
 
lit(int) - Static method in class com.sun.codemodel.JExpr
 
lit(long) - Static method in class com.sun.codemodel.JExpr
 
lit(float) - Static method in class com.sun.codemodel.JExpr
 
lit(double) - Static method in class com.sun.codemodel.JExpr
 
lit(char) - Static method in class com.sun.codemodel.JExpr
 
lit(String) - Static method in class com.sun.codemodel.JExpr
 
LONG - Variable in class com.sun.codemodel.JCodeModel
 
lt(JExpression) - Method in interface com.sun.codemodel.JExpression
 
lt(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
lt(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
lte(JExpression) - Method in interface com.sun.codemodel.JExpression
 
lte(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
lte(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 

M

metadata - Variable in class com.sun.codemodel.JDefinedClass
Client-app spcific metadata associated with this user-created class.
method(int, JType, String) - Method in class com.sun.codemodel.JDefinedClass
Add a method to the list of method members of this JDefinedClass instance.
method(int, Class<?>, String) - Method in class com.sun.codemodel.JDefinedClass
 
methods() - Method in class com.sun.codemodel.JDefinedClass
Returns the set of methods defined in this class.
minus() - Method in interface com.sun.codemodel.JExpression
Returns "-[this]" from "[this]".
minus(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]-[right]"
minus() - Method in class com.sun.codemodel.JExpressionImpl
 
minus(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
minus(JExpression) - Static method in class com.sun.codemodel.JOp
 
minus(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
mod(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]%[right]"
mod(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
mod(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
mods() - Method in class com.sun.codemodel.JDefinedClass
 
mods() - Method in class com.sun.codemodel.JMethod
 
mods() - Method in class com.sun.codemodel.JVar
 
MS1252Encoder - Class in com.sun.codemodel.util
MS1252 encoder that corrects a bug in JDK1.4.2_01.
MS1252Encoder(Charset) - Constructor for class com.sun.codemodel.util.MS1252Encoder
 
mul(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]*[right]"
mul(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
mul(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 

N

name() - Method in class com.sun.codemodel.JClass
Gets the name of this class.
name() - Method in class com.sun.codemodel.JDefinedClass
JClass name accessor.
name(String) - Method in class com.sun.codemodel.JFieldVar
 
name() - Method in class com.sun.codemodel.JMethod
 
name(String) - Method in class com.sun.codemodel.JMethod
Changes the name of the method.
name() - Method in class com.sun.codemodel.JNullType
 
name() - Method in class com.sun.codemodel.JPackage
Get the name of this package
name() - Method in class com.sun.codemodel.JPrimitiveType
 
name() - Method in class com.sun.codemodel.JResourceFile
Gets the name of this property file
name() - Method in class com.sun.codemodel.JType
Gets the name of this type.
name() - Method in class com.sun.codemodel.JTypeVar
 
name() - Method in class com.sun.codemodel.JVar
Get the name of this variable
name(String) - Method in class com.sun.codemodel.JVar
Changes the name of this variable.
narrow(Class<?>) - Method in class com.sun.codemodel.JClass
"Narrows" a generic class to a concrete class by specifying a type argument.
narrow(Class<?>...) - Method in class com.sun.codemodel.JClass
 
narrow(JClass) - Method in class com.sun.codemodel.JClass
"Narrows" a generic class to a concrete class by specifying a type argument.
narrow(JType) - Method in class com.sun.codemodel.JClass
 
narrow(JClass...) - Method in class com.sun.codemodel.JClass
 
narrow(List<? extends JClass>) - Method in class com.sun.codemodel.JClass
 
NATIVE - Static variable in class com.sun.codemodel.JMod
 
ne(JExpression) - Method in interface com.sun.codemodel.JExpression
 
ne(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
ne(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
newAnonymousClass(JClass) - Method in class com.sun.codemodel.JCodeModel
Deprecated. The naming convention doesn't match the rest of the CodeModel. Use JCodeModel.anonymousClass(JClass) instead.
newArray(JType) - Static method in class com.sun.codemodel.JExpr
 
newArray(JType, JExpression) - Static method in class com.sun.codemodel.JExpr
Generates new T[size].
newArray(JType, int) - Static method in class com.sun.codemodel.JExpr
Generates new T[size].
nl() - Method in class com.sun.codemodel.JFormatter
Print a new line into the stream
NONE - Static variable in class com.sun.codemodel.JMod
 
not() - Method in interface com.sun.codemodel.JExpression
Returns "![this]" from "[this]".
not() - Method in class com.sun.codemodel.JExpressionImpl
Logical not '!x'.
not(JExpression) - Static method in class com.sun.codemodel.JOp
Logical not '!x'.
NULL - Variable in class com.sun.codemodel.JCodeModel
Obtains a reference to the special "null" type.

O

o() - Method in class com.sun.codemodel.JFormatter
Decrement the indentation level.
openBinary(JPackage, String) - Method in class com.sun.codemodel.CodeWriter
Called by CodeModel to store the specified file.
openBinary(JPackage, String) - Method in class com.sun.codemodel.writer.FileCodeWriter
 
openBinary(JPackage, String) - Method in class com.sun.codemodel.writer.FilterCodeWriter
 
openBinary(JPackage, String) - Method in class com.sun.codemodel.writer.ProgressCodeWriter
 
openBinary(JPackage, String) - Method in class com.sun.codemodel.writer.SingleStreamCodeWriter
 
openBinary(JPackage, String) - Method in class com.sun.codemodel.writer.ZipCodeWriter
 
openSource(JPackage, String) - Method in class com.sun.codemodel.CodeWriter
Called by CodeModel to store the specified file.
openSource(JPackage, String) - Method in class com.sun.codemodel.writer.FilterCodeWriter
 
openSource(JPackage, String) - Method in class com.sun.codemodel.writer.ProgressCodeWriter
 
openSource(JPackage, String) - Method in class com.sun.codemodel.writer.PrologCodeWriter
 
outer() - Method in class com.sun.codemodel.JClass
Returns the class in which this class is nested, or null if this is a top-level class.
outer() - Method in class com.sun.codemodel.JDefinedClass
 
owner() - Method in class com.sun.codemodel.JClass
Gets the JCodeModel object to which this object belongs.
owner() - Method in interface com.sun.codemodel.JClassContainer
Get the root code model object.
owner() - Method in class com.sun.codemodel.JMethod
 
owner() - Method in class com.sun.codemodel.JPackage
Return the code model root object being used to create this package.
owner() - Method in class com.sun.codemodel.JPrimitiveType
 
owner() - Method in class com.sun.codemodel.JType
Gets the owner code model object.

P

p(char) - Method in class com.sun.codemodel.JFormatter
Print a char into the stream
p(String) - Method in class com.sun.codemodel.JFormatter
Print a String into the stream
packages() - Method in class com.sun.codemodel.JCodeModel
Returns an iterator that walks the packages defined using this code writer.
param(String) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(boolean) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(byte) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(char) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(double) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(long) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(short) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(int) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(float) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an array member to this annotation
param(Enum<?>) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds a enum array member to this annotation
param(JEnumConstant) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds a enum array member to this annotation
param(JExpression) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds an expression array member to this annotation
param(Class<?>) - Method in class com.sun.codemodel.JAnnotationArrayMember
Adds a class array member to this annotation
param(JType) - Method in class com.sun.codemodel.JAnnotationArrayMember
 
param(JAnnotationUse) - Method in class com.sun.codemodel.JAnnotationArrayMember
Deprecated. use JAnnotationArrayMember.annotate(java.lang.Class)
param(String, boolean) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, byte) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, char) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, double) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, float) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, long) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, short) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, int) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, String) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, Enum<?>) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, JEnumConstant) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation
param(String, Class<?>) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation This can be used for e.g to specify
param(String, JType) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation based on the type represented by the given JType
param(String, JExpression) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair to this annotation.
param(String) - Method in class com.sun.codemodel.JCatchBlock
 
param(int, JType, String) - Method in class com.sun.codemodel.JMethod
Add the specified variable to the list of parameters for this method signature.
param(JType, String) - Method in class com.sun.codemodel.JMethod
 
param(int, Class<?>, String) - Method in class com.sun.codemodel.JMethod
 
param(Class<?>, String) - Method in class com.sun.codemodel.JMethod
 
paramArray(String) - Method in class com.sun.codemodel.JAnnotationUse
Adds a member value pair which is of type array to this annotation
params() - Method in class com.sun.codemodel.JMethod
Returns the list of variable of this method.
parent() - Method in class com.sun.codemodel.JPackage
Gets the parent package, or null if this class is the root package.
parentContainer() - Method in interface com.sun.codemodel.JClassContainer
Parent JClassContainer.
parentContainer() - Method in class com.sun.codemodel.JDefinedClass
 
parentContainer() - Method in class com.sun.codemodel.JPackage
 
parse(JCodeModel, String) - Static method in class com.sun.codemodel.JType
Obtains a reference to the primitive type object from a type name.
parseType(String) - Method in class com.sun.codemodel.JCodeModel
Obtains a type object from a type name.
plus(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]+[right]"
plus(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
plus(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
pos() - Method in class com.sun.codemodel.JBlock
Gets the current position to which new statements will be inserted.
pos(int) - Method in class com.sun.codemodel.JBlock
Sets the current position.
primitiveToBox - Static variable in class com.sun.codemodel.JCodeModel
Conversion from primitive type Class (such as Integer.TYPE to its boxed type (such as Integer.class)
PRIVATE - Static variable in class com.sun.codemodel.JMod
 
process(String) - Method in class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
 
process(String) - Method in interface com.sun.codemodel.fmt.JStaticJavaFile.LineFilter
 
ProgressCodeWriter - Class in com.sun.codemodel.writer
Filter CodeWriter that writes a progress message to the specified PrintStream.
ProgressCodeWriter(CodeWriter, PrintStream) - Constructor for class com.sun.codemodel.writer.ProgressCodeWriter
 
PrologCodeWriter - Class in com.sun.codemodel.writer
Writes all the source files under the specified file folder and inserts a file prolog comment in each java source file.
PrologCodeWriter(CodeWriter, String) - Constructor for class com.sun.codemodel.writer.PrologCodeWriter
 
propertyFiles() - Method in class com.sun.codemodel.JPackage
Iterates all resource files in this package.
PROTECTED - Static variable in class com.sun.codemodel.JMod
 
PUBLIC - Static variable in class com.sun.codemodel.JMod
 

Q

quotify(char, String) - Static method in class com.sun.codemodel.JExpr
Escapes the given string, then surrounds it by the specified quotation mark.

R

ref(Class<?>) - Method in class com.sun.codemodel.JCodeModel
Obtains a reference to an existing class from its Class object.
ref(String) - Method in class com.sun.codemodel.JCodeModel
Obtains a reference to an existing class from its fully-qualified class name.
ref(String) - Static method in class com.sun.codemodel.JExpr
 
ref(JExpression, JVar) - Static method in class com.sun.codemodel.JExpr
 
ref(JExpression, String) - Static method in class com.sun.codemodel.JExpr
 
ref(JVar) - Method in interface com.sun.codemodel.JExpression
 
ref(String) - Method in interface com.sun.codemodel.JExpression
 
ref(JVar) - Method in class com.sun.codemodel.JExpressionImpl
 
ref(String) - Method in class com.sun.codemodel.JExpressionImpl
 
ref(String) - Method in class com.sun.codemodel.JPackage
Reference a class within this package.
refthis(String) - Static method in class com.sun.codemodel.JExpr
 
remove(JClass) - Method in class com.sun.codemodel.JPackage
Removes a class from this package.
removeField(JFieldVar) - Method in class com.sun.codemodel.JDefinedClass
Removes a JFieldVar from this class.
requireEscaping(int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
Can be overrided.
rootPackage() - Method in class com.sun.codemodel.JCodeModel
 

S

s(JStatement) - Method in class com.sun.codemodel.JFormatter
Cause the JStatement to generate source for itself
setContents(String) - Method in class com.sun.codemodel.fmt.JTextFile
 
setFinal(boolean) - Method in class com.sun.codemodel.JMods
 
setPrivate() - Method in class com.sun.codemodel.JMods
 
setProtected() - Method in class com.sun.codemodel.JMods
 
setPublic() - Method in class com.sun.codemodel.JMods
 
setSynchronized(boolean) - Method in class com.sun.codemodel.JMods
 
shl(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]<<[right]"
shl(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
shl(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
SHORT - Variable in class com.sun.codemodel.JCodeModel
 
shr(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]>>[right]"
shr(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
shr(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
shrz(JExpression) - Method in interface com.sun.codemodel.JExpression
Returns "[this]>>>[right]"
shrz(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
shrz(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 
SingleStreamCodeWriter - Class in com.sun.codemodel.writer
Output all source files into a single stream with a little formatting header in front of each file.
SingleStreamCodeWriter(OutputStream) - Constructor for class com.sun.codemodel.writer.SingleStreamCodeWriter
 
state(JFormatter) - Method in class com.sun.codemodel.JAssignment
 
state(JFormatter) - Method in class com.sun.codemodel.JBlock
 
state(JFormatter) - Method in class com.sun.codemodel.JCase
 
state(JFormatter) - Method in class com.sun.codemodel.JConditional
 
state(JFormatter) - Method in class com.sun.codemodel.JDoLoop
 
state(JFormatter) - Method in class com.sun.codemodel.JForEach
 
state(JFormatter) - Method in class com.sun.codemodel.JForLoop
 
state(JFormatter) - Method in class com.sun.codemodel.JInvocation
 
state(JFormatter) - Method in class com.sun.codemodel.JLabel
 
state(JFormatter) - Method in interface com.sun.codemodel.JStatement
 
state(JFormatter) - Method in class com.sun.codemodel.JSwitch
 
state(JFormatter) - Method in class com.sun.codemodel.JTryBlock
 
state(JFormatter) - Method in class com.sun.codemodel.JWhileLoop
 
STATIC - Static variable in class com.sun.codemodel.JMod
 
staticInvoke(JClass, String) - Method in class com.sun.codemodel.JBlock
Creates a static invocation statement.
staticInvoke(JMethod) - Method in class com.sun.codemodel.JClass
Generates a static method invocation.
staticInvoke(String) - Method in class com.sun.codemodel.JClass
Generates a static method invocation.
staticRef(String) - Method in class com.sun.codemodel.JClass
Static field reference.
staticRef(JVar) - Method in class com.sun.codemodel.JClass
Static field reference.
str - Variable in class com.sun.codemodel.JStringLiteral
 
subPackage(String) - Method in class com.sun.codemodel.JPackage
Gets a reference to a sub package of this package.
substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JClass
Substitutes the type variables with their actual arguments.
substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JDefinedClass
 
substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JNullType
 
substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JTypeVar
 
SYNCHRONIZED - Static variable in class com.sun.codemodel.JMod
 

T

t(JType) - Method in class com.sun.codemodel.JFormatter
 
t(JClass) - Method in class com.sun.codemodel.JFormatter
Print a type name.
test(JExpression) - Method in class com.sun.codemodel.JForLoop
 
test() - Method in class com.sun.codemodel.JSwitch
 
test() - Method in class com.sun.codemodel.JWhileLoop
 
theInstance - Static variable in class com.sun.codemodel.util.ClassNameComparator
 
toString() - Method in class com.sun.codemodel.JClass
 
toString() - Method in class com.sun.codemodel.JMods
 
toString() - Method in class com.sun.codemodel.JType
 
TRANSIENT - Static variable in class com.sun.codemodel.JMod
 
TRUE - Static variable in class com.sun.codemodel.JExpr
Boolean constant that represents true
type() - Method in class com.sun.codemodel.JMethod
Returns the return type.
type(JType) - Method in class com.sun.codemodel.JMethod
Overrides the return type.
type() - Method in class com.sun.codemodel.JVar
Return the type of this variable.
type(JType) - Method in class com.sun.codemodel.JVar
Sets the type of this variable.
typeParams() - Method in class com.sun.codemodel.JClass
Iterates all the type parameters of this class/interface.
typeParams() - Method in class com.sun.codemodel.JDefinedClass
 
typeParams() - Method in interface com.sun.codemodel.JGenerifiable
Iterates all the type parameters of this class/interface.

U

unboxify() - Method in class com.sun.codemodel.JClass
 
unboxify() - Method in class com.sun.codemodel.JPrimitiveType
Deprecated. calling this method from JPrimitiveType would be meaningless, since it's always guaranteed to return this.
unboxify() - Method in class com.sun.codemodel.JType
If this class is a wrapper type for a primitive, return the primitive type.
UnicodeEscapeWriter - Class in com.sun.codemodel.util
Writer that escapes non US-ASCII characters into Java Unicode escape \\uXXXX.
UnicodeEscapeWriter(Writer) - Constructor for class com.sun.codemodel.util.UnicodeEscapeWriter
 
unwrap(JExpression) - Method in class com.sun.codemodel.JPrimitiveType
Do the opposite of the wrap method.
update(JExpression) - Method in class com.sun.codemodel.JForLoop
 

V

var() - Method in class com.sun.codemodel.JForEach
Returns a reference to the loop variable.
varParam(Class<?>, String) - Method in class com.sun.codemodel.JMethod
 
varParam(JType, String) - Method in class com.sun.codemodel.JMethod
Add the specified variable argument to the list of parameters for this method signature.
VOID - Variable in class com.sun.codemodel.JCodeModel
 
VOLATILE - Static variable in class com.sun.codemodel.JMod
 

W

wildcard() - Method in class com.sun.codemodel.JClass
Create "? extends T" from T.
wildcard() - Method in class com.sun.codemodel.JCodeModel
Gets a JClass representation for "?", which is equivalent to "? extends Object".
wrap(JExpression) - Method in class com.sun.codemodel.JPrimitiveType
Wraps an expression of this type to the corresponding wrapper class.
write(int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
 
write(char[], int, int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
 
write(char[]) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
 
write(String, int, int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
 
write(String) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
 
write(int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
 
write(char[], int, int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
 
write(char[]) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
 
write(String, int, int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
 
write(String) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
 

X

xor(JExpression) - Method in interface com.sun.codemodel.JExpression
 
xor(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
 
xor(JExpression, JExpression) - Static method in class com.sun.codemodel.JOp
 

Z

ZipCodeWriter - Class in com.sun.codemodel.writer
Writes all the files into a zip file.
ZipCodeWriter(OutputStream) - Constructor for class com.sun.codemodel.writer.ZipCodeWriter
 

_

_annotationTypeDeclaration(String) - Method in interface com.sun.codemodel.JClassContainer
Add an annotationType Declaration to this package
_annotationTypeDeclaration(String) - Method in class com.sun.codemodel.JDefinedClass
Add an annotationType Declaration to this package
_annotationTypeDeclaration(String) - Method in class com.sun.codemodel.JPackage
Add an annotationType Declaration to this package
_break() - Method in class com.sun.codemodel.JBlock
Create a break statement and add it to this block
_break(JLabel) - Method in class com.sun.codemodel.JBlock
 
_case(JExpression) - Method in class com.sun.codemodel.JSwitch
 
_catch(JClass) - Method in class com.sun.codemodel.JTryBlock
 
_class(int, String) - Method in interface com.sun.codemodel.JClassContainer
Add a new class to this package/class.
_class(String) - Method in interface com.sun.codemodel.JClassContainer
Add a new public class to this class/package.
_class(int, String, boolean) - Method in interface com.sun.codemodel.JClassContainer
Deprecated. use JClassContainer._class(int, String, ClassType)
_class(int, String, ClassType) - Method in interface com.sun.codemodel.JClassContainer
Creates a new class/enum/interface/annotation.
_class(String) - Method in class com.sun.codemodel.JCodeModel
Creates a new generated class.
_class(int, String, ClassType) - Method in class com.sun.codemodel.JCodeModel
Creates a new generated class.
_class(String, ClassType) - Method in class com.sun.codemodel.JCodeModel
Creates a new generated class.
_class(int, String) - Method in class com.sun.codemodel.JDefinedClass
Add a new nested class to this class.
_class(int, String, boolean) - Method in class com.sun.codemodel.JDefinedClass
Deprecated.  
_class(int, String, ClassType) - Method in class com.sun.codemodel.JDefinedClass
 
_class(String) - Method in class com.sun.codemodel.JDefinedClass
Add a new public nested class to this class.
_class(int, String) - Method in class com.sun.codemodel.JPackage
Add a class to this package.
_class(int, String, boolean) - Method in class com.sun.codemodel.JPackage
Deprecated.  
_class(int, String, ClassType) - Method in class com.sun.codemodel.JPackage
 
_class(String) - Method in class com.sun.codemodel.JPackage
Adds a public class to this package.
_continue(JLabel) - Method in class com.sun.codemodel.JBlock
Create a continue statement and add it to this block
_continue() - Method in class com.sun.codemodel.JBlock
 
_default() - Method in class com.sun.codemodel.JSwitch
 
_do(JExpression) - Method in class com.sun.codemodel.JBlock
Create a Do statement and add it to this block
_else() - Method in class com.sun.codemodel.JConditional
Create a block to be executed by "else" branch
_elseif(JExpression) - Method in class com.sun.codemodel.JConditional
Creates ...
_enum(String) - Method in interface com.sun.codemodel.JClassContainer
Add a public enum to this package
_enum(String) - Method in class com.sun.codemodel.JDefinedClass
Add a public enum to this package
_enum(int, String) - Method in class com.sun.codemodel.JDefinedClass
Add a public enum to this package
_enum(String) - Method in class com.sun.codemodel.JPackage
Add a public enum to this package
_extends() - Method in class com.sun.codemodel.JClass
Gets the super class of this class.
_extends(JClass) - Method in class com.sun.codemodel.JDefinedClass
This class extends the specifed class.
_extends(Class<?>) - Method in class com.sun.codemodel.JDefinedClass
 
_extends() - Method in class com.sun.codemodel.JDefinedClass
Returns the class extended by this class.
_extends() - Method in class com.sun.codemodel.JNullType
 
_extends() - Method in class com.sun.codemodel.JTypeVar
Returns the class bound of this variable.
_finally() - Method in class com.sun.codemodel.JTryBlock
 
_for() - Method in class com.sun.codemodel.JBlock
Create a For statement and add it to this block
_getClass(String) - Method in class com.sun.codemodel.JCodeModel
Gets a reference to the already created generated class.
_getClass(String) - Method in class com.sun.codemodel.JPackage
Gets a reference to the already created JDefinedClass.
_if(JExpression) - Method in class com.sun.codemodel.JBlock
Create an If statement and add it to this block
_implements() - Method in class com.sun.codemodel.JClass
Iterates all super interfaces directly implemented by this class/interface.
_implements(JClass) - Method in class com.sun.codemodel.JDefinedClass
This class implements the specifed interface.
_implements(Class<?>) - Method in class com.sun.codemodel.JDefinedClass
 
_implements() - Method in class com.sun.codemodel.JDefinedClass
Returns an iterator that walks the nested classes defined in this class.
_implements() - Method in class com.sun.codemodel.JNullType
 
_implements() - Method in class com.sun.codemodel.JTypeVar
Returns the interface bounds of this variable.
_instanceof(JType) - Method in interface com.sun.codemodel.JExpression
Returns "[this] instanceof [right]"
_instanceof(JType) - Method in class com.sun.codemodel.JExpressionImpl
 
_instanceof(JExpression, JType) - Static method in class com.sun.codemodel.JOp
 
_interface(int, String) - Method in interface com.sun.codemodel.JClassContainer
Add an interface to this class/package.
_interface(String) - Method in interface com.sun.codemodel.JClassContainer
Adds a public interface to this package.
_interface(int, String) - Method in class com.sun.codemodel.JDefinedClass
Add an interface to this package.
_interface(String) - Method in class com.sun.codemodel.JDefinedClass
Adds a public interface to this package.
_interface(int, String) - Method in class com.sun.codemodel.JPackage
Add an interface to this package.
_interface(String) - Method in class com.sun.codemodel.JPackage
Adds a public interface to this package.
_new(JClass) - Static method in class com.sun.codemodel.JExpr
 
_new(JType) - Static method in class com.sun.codemodel.JExpr
 
_null() - Static method in class com.sun.codemodel.JExpr
 
_package() - Method in class com.sun.codemodel.JClass
Gets the package to which this class belongs.
_package(String) - Method in class com.sun.codemodel.JCodeModel
Add a package to the list of packages to be generated
_package() - Method in class com.sun.codemodel.JDefinedClass
 
_package() - Method in class com.sun.codemodel.JNullType
 
_package() - Method in class com.sun.codemodel.JTypeVar
 
_ref(Class<?>) - Method in class com.sun.codemodel.JCodeModel
 
_return() - Method in class com.sun.codemodel.JBlock
Create a return statement and add it to this block
_return(JExpression) - Method in class com.sun.codemodel.JBlock
Create a return statement and add it to this block
_super() - Static method in class com.sun.codemodel.JExpr
Returns a reference to "super", an implicit reference to the super class.
_switch(JExpression) - Method in class com.sun.codemodel.JBlock
Create a switch/case statement and add it to this block
_then() - Method in class com.sun.codemodel.JConditional
Return the block to be excuted by the "then" branch
_this() - Static method in class com.sun.codemodel.JExpr
Returns a reference to "this", an implicit reference to the current object.
_throw(JExpression) - Method in class com.sun.codemodel.JBlock
Create a throw statement and add it to this block
_throws(JClass) - Method in class com.sun.codemodel.JMethod
Add an exception to the list of exceptions that this method may throw.
_throws(Class<? extends Throwable>) - Method in class com.sun.codemodel.JMethod
 
_try() - Method in class com.sun.codemodel.JBlock
Create a Try statement and add it to this block
_while(JExpression) - Method in class com.sun.codemodel.JBlock
Create a While statement and add it to this block

A B C D E F G H I J L M N O P Q R S T U V W X Z _

Copyright © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14