- ABSTRACT - Static variable in class com.sun.codemodel.JMod
-
- ACTask - Class in com.sun.codemodel.ac
-
Annotation compiler ant task.
- ACTask() - Constructor for class com.sun.codemodel.ac.ACTask
-
- ACTask.Classes - Class in com.sun.codemodel.ac
-
Nested <classes> elements.
- ACTask.Endorse - Class in com.sun.codemodel.ac
-
Nested <endorse> elements.
- 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
-
- add(JClass) - Method in class com.sun.codemodel.JFormatter.ReferenceList
-
- addArrayValue(Object, String, Class, Class, Object) - Method in class com.sun.codemodel.TypedAnnotationWriter
-
- addConfiguredClasses(ACTask.Classes) - Method in class com.sun.codemodel.ac.ACTask
-
List of classes to be handled
- addConfiguredEndorse(ACTask.Endorse) - Method in class com.sun.codemodel.ac.ACTask
-
List of endorsed jars
- 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
- addValue(String, JAnnotationValue) - Method in class com.sun.codemodel.JAnnotationUse
-
- 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
-
- 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 - Variable in class com.sun.codemodel.TypedAnnotationWriter
-
The annotation that we are writing.
- 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
-
- annotations() - Method in class com.sun.codemodel.JAnnotationArrayMember
-
- annotations - Variable in class com.sun.codemodel.JDefinedClass
-
Annotations on this variable.
- annotations() - Method in class com.sun.codemodel.JDefinedClass
-
- annotations - Variable in class com.sun.codemodel.JEnumConstant
-
Annotations on this variable.
- annotations() - Method in class com.sun.codemodel.JEnumConstant
-
- annotations - Variable in class com.sun.codemodel.JMethod
-
Annotations on this variable.
- annotations() - Method in class com.sun.codemodel.JMethod
-
- annotations - Variable in class com.sun.codemodel.JPackage
-
Lazily created list of package annotations.
- annotations() - Method in class com.sun.codemodel.JPackage
-
- annotations - Variable in class com.sun.codemodel.JVar
-
Annotations on this variable.
- 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
-
- apply(String) - Method in class com.sun.codemodel.JJavaName.Entry
-
- 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.
- args - Variable in class com.sun.codemodel.JEnumConstant
-
List of the constructor argument expressions.
- args - Variable in class com.sun.codemodel.JInvocation
-
List of argument expressions for this method invocation
- args - Variable in class com.sun.codemodel.JNarrowedClass
-
Arguments to those parameters.
- array - Variable in class com.sun.codemodel.JArrayCompRef
-
JArray expression upon which this component will be accessed.
- 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.
- arrayClass - Variable in class com.sun.codemodel.JClass
-
- arrayClass - Variable in class com.sun.codemodel.JPrimitiveType
-
- arrays - Variable in class com.sun.codemodel.TypedAnnotationWriter
-
Keeps track of writers for array members.
- assign(JExpression) - Method in class com.sun.codemodel.JArrayCompRef
-
- 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 class com.sun.codemodel.JArrayCompRef
-
- 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
-
- atBeginningOfLine - Variable in class com.sun.codemodel.JFormatter
-
- atDeprecated - Variable in class com.sun.codemodel.JDocComment
-
The @deprecated tag
- atParams - Variable in class com.sun.codemodel.JDocComment
-
list of @param tags
- atReturn - Variable in class com.sun.codemodel.JDocComment
-
The @return tag part.
- atThrows - Variable in class com.sun.codemodel.JDocComment
-
list of @throws tags
- atXdoclets - Variable in class com.sun.codemodel.JDocComment
-
list of xdoclets
- 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
-
- baos - Variable in class com.sun.codemodel.fmt.JBinaryFile
-
- base - Variable in class com.sun.codemodel.JAnonymousClass
-
Base interface/class from which this anonymous class is built.
- basis - Variable in class com.sun.codemodel.JNarrowedClass
-
A generic class with type parameters.
- binaryName() - Method in class com.sun.codemodel.JArrayClass
-
- binaryName() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- binaryName() - Method in class com.sun.codemodel.JDefinedClass
-
- binaryName() - Method in class com.sun.codemodel.JNarrowedClass
-
- binaryName() - Method in class com.sun.codemodel.JType
-
Gets the binary name of the type.
- BinaryOp(String, JExpression, JGenerable) - Constructor for class com.sun.codemodel.JOp.BinaryOp
-
- 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 - Variable in class com.sun.codemodel.JCase
-
JBlock of statements which makes up body of this While statement
- body() - Method in class com.sun.codemodel.JCase
-
- body - Variable in class com.sun.codemodel.JCatchBlock
-
- body() - Method in class com.sun.codemodel.JCatchBlock
-
- body - Variable in class com.sun.codemodel.JDoLoop
-
JBlock of statements which makes up body of this Do statement
- body() - Method in class com.sun.codemodel.JDoLoop
-
- body - Variable in class com.sun.codemodel.JForEach
-
- body() - Method in class com.sun.codemodel.JForEach
-
- body - Variable in class com.sun.codemodel.JForLoop
-
- body() - Method in class com.sun.codemodel.JForLoop
-
- body - Variable in class com.sun.codemodel.JMethod
-
JBlock of statements that makes up the body this method
- body() - Method in class com.sun.codemodel.JMethod
-
Get the block that makes up body of this method
- body - Variable in class com.sun.codemodel.JTryBlock
-
- body() - Method in class com.sun.codemodel.JTryBlock
-
- body - Variable in class com.sun.codemodel.JWhileLoop
-
JBlock of statements which makes up body of this While statement
- 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 - Variable in class com.sun.codemodel.JTypeVar
-
- bound(JClass) - Method in class com.sun.codemodel.JTypeVar
-
Adds a bound to this variable.
- bound - Variable in class com.sun.codemodel.JTypeWildcard
-
- boxify() - Method in class com.sun.codemodel.JClass
-
- 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
-
- bracesRequired - Variable in class com.sun.codemodel.JBlock
-
Whether or not this block must be braced and indented
- 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(CodeWriter, CodeWriter) - Method in class com.sun.codemodel.JPackage
-
- 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
-
- 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
-
- canEncode(char) - Method in class com.sun.codemodel.util.SingleByteEncoder
-
- cases - Variable in class com.sun.codemodel.JSwitch
-
vector of JCases.
- cases() - Method in class com.sun.codemodel.JSwitch
-
- cast(JType, JExpression) - Static method in class com.sun.codemodel.JExpr
-
- catches - Variable in class com.sun.codemodel.JTryBlock
-
- ChainFilter(JStaticJavaFile.LineFilter, JStaticJavaFile.LineFilter) - Constructor for class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
-
- CHAR - Variable in class com.sun.codemodel.JCodeModel
-
- character - Variable in class com.sun.codemodel.util.Surrogate.Parser
-
- character() - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Returns the UCS-4 character previously parsed.
- charEscape - Static variable in class com.sun.codemodel.JExpr
-
- charMacro - Static variable in class com.sun.codemodel.JExpr
-
- check(int, int, String) - Static method in class com.sun.codemodel.JMods
-
- checkType(Class<?>, Class<?>) - Method in class com.sun.codemodel.TypedAnnotationWriter
-
Check if the type of the argument matches our expectation.
- CLASS - Static variable in class com.sun.codemodel.ClassType
-
- CLASS - Static variable in class com.sun.codemodel.JMods
-
- Classes() - Constructor for class com.sun.codemodel.ac.ACTask.Classes
-
- classes() - Method in interface com.sun.codemodel.JClassContainer
-
Returns an iterator that walks the nested classes defined in this
class.
- classes - Variable in class com.sun.codemodel.JDefinedClass
-
Nested classes as a map from name to JDefinedClass.
- classes() - Method in class com.sun.codemodel.JDefinedClass
-
Returns an iterator that walks the nested classes defined in this
class.
- classes - Variable in class com.sun.codemodel.JFormatter.ReferenceList
-
- classes - Variable in class com.sun.codemodel.JPackage
-
List of classes contained within this package keyed by their name.
- classes() - Method in class com.sun.codemodel.JPackage
-
Returns an iterator that walks the top-level classes defined in this
package.
- classLoader - Variable in class com.sun.codemodel.fmt.JStaticFile
-
- className - Variable in class com.sun.codemodel.fmt.JStaticJavaFile
-
- ClassNameComparator - Class in com.sun.codemodel.util
-
Comparator object that sorts
JClass
es in the order
of their names.
- ClassNameComparator() - Constructor for class com.sun.codemodel.util.ClassNameComparator
-
- classpath - Variable in class com.sun.codemodel.ac.ACTask
-
Used to load additional user-specified classes.
- ClassType - Class in com.sun.codemodel
-
This helps enable whether the JDefinedClass is a Class or Interface or
AnnotationTypeDeclaration or Enum
- ClassType(String) - Constructor for class com.sun.codemodel.ClassType
-
- classType - Variable in class com.sun.codemodel.JDefinedClass
-
Default value is class or interface
or annotationTypeDeclaration
or enum
- clazz - Variable in class com.sun.codemodel.fmt.JStaticJavaFile
-
- clazz - Variable in class com.sun.codemodel.JAnnotationUse
-
The Annotation
class
- 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
-
- CLOSE_TYPE_ARGS - Static variable in class com.sun.codemodel.JFormatter
-
Special character token we use to differenciate '>' as an operator and
'>' as the end of the type arguments.
- codeModel - Variable in class com.sun.codemodel.ac.ACTask
-
Generated interfaces go into this codeModel.
- CodeWriter - Class in com.sun.codemodel
-
Receives generated code and writes to the appropriate storage.
- CodeWriter() - Constructor for class com.sun.codemodel.CodeWriter
-
- collectedReferences - Variable in class com.sun.codemodel.JFormatter
-
map from short type name to ReferenceList (list of JClass and ids sharing that name)
- collection - Variable in class com.sun.codemodel.JForEach
-
- collisions(JDefinedClass) - Method in class com.sun.codemodel.JFormatter.ReferenceList
-
Returns true if the symbol represented by the short name
is "importable".
- com.sun.codemodel - package com.sun.codemodel
-
Library for generating Java source code
- com.sun.codemodel.ac - package com.sun.codemodel.ac
-
- com.sun.codemodel.fmt - package com.sun.codemodel.fmt
-
- 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
-
- componentType - Variable in class com.sun.codemodel.JArrayClass
-
- 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 - Variable in class com.sun.codemodel.JDefinedClass
-
Set of constructors for this class, if any
- constructors() - Method in class com.sun.codemodel.JDefinedClass
-
Returns an iterator that walks the constructors defined in this class.
- content - Variable in class com.sun.codemodel.JBlock
-
Declarations and statements contained in this block.
- contents - Variable in class com.sun.codemodel.fmt.JTextFile
-
- convertToRegex(String) - Method in class com.sun.codemodel.ac.ACTask.Classes
-
- 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
-
- countArtifacts() - Method in class com.sun.codemodel.JPackage
-
- create(Class<W>, JAnnotatable) - Static method in class com.sun.codemodel.TypedAnnotationWriter
-
Creates a new typed annotation writer.
- createClasspath() - Method in class com.sun.codemodel.ac.ACTask
-
Nested <classpath> element.
- createEncoder(String) - Static method in class com.sun.codemodel.util.EncoderFactory
-
- createJavaSourceFileWriter(CodeWriter, String) - Method in class com.sun.codemodel.JPackage
-
- createLineFilter() - Method in class com.sun.codemodel.fmt.JStaticJavaFile
-
- createProxy() - Method in class com.sun.codemodel.TypedAnnotationWriter
-
Creates a proxy and returns it.
- 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
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAnnotationArrayMember
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAnnotationStringValue
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAnnotationUse
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAnonymousClass
-
- generate(JFormatter) - Method in class com.sun.codemodel.JArray
-
- generate(JFormatter) - Method in class com.sun.codemodel.JArrayClass
-
- generate(JFormatter) - Method in class com.sun.codemodel.JArrayCompRef
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAssignment
-
- generate(JFormatter) - Method in class com.sun.codemodel.JAtom
-
- generate(JFormatter) - Method in class com.sun.codemodel.JBlock
-
- generate(JFormatter) - Method in class com.sun.codemodel.JCast
-
- 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.JNarrowedClass
-
- generate(JFormatter) - Method in class com.sun.codemodel.JOp.BinaryOp
-
- generate(JFormatter) - Method in class com.sun.codemodel.JOp.TernaryOp
-
- generate(JFormatter) - Method in class com.sun.codemodel.JOp.TightUnaryOp
-
- generate(JFormatter) - Method in class com.sun.codemodel.JOp.UnaryOp
-
- 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.JTypeWildcard
-
- generate(JFormatter) - Method in class com.sun.codemodel.JVar
-
- generate(int, int, CharBuffer) - Method in class com.sun.codemodel.util.Surrogate.Generator
-
Generates one or two UTF-16 characters to represent the given UCS-4
character.
- generate(int, int, char[], int, int) - Method in class com.sun.codemodel.util.Surrogate.Generator
-
Generates one or two UTF-16 characters to represent the given UCS-4
character.
- generateBody(JFormatter) - Method in class com.sun.codemodel.JBlock
-
- Generator() - Constructor for class com.sun.codemodel.util.Surrogate.Generator
-
- generifiable - Variable in class com.sun.codemodel.JDefinedClass
-
- 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.
- generify(String) - Method in class com.sun.codemodel.JGenerifiableImpl
-
- generify(String, Class<?>) - Method in class com.sun.codemodel.JGenerifiableImpl
-
- generify(String, JClass) - Method in class com.sun.codemodel.JGenerifiableImpl
-
- 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.
- getAnnotationType() - Method in class com.sun.codemodel.TypedAnnotationWriter
-
- getAnnotationUse() - Method in interface com.sun.codemodel.JAnnotationWriter
-
Gets the underlying annotation use object to which we are writing.
- getAnnotationUse() - Method in class com.sun.codemodel.TypedAnnotationWriter
-
- 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
-
- getClassClassLoader(Class) - Static method in class com.sun.codemodel.fmt.SecureLoader
-
- getClassClassLoader(Class) - Static method in class com.sun.codemodel.SecureLoader
-
- getClasses() - Method in class com.sun.codemodel.JDefinedClass
-
- getClasses() - Method in class com.sun.codemodel.JFormatter.ReferenceList
-
- 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
-
- getContextClassLoader() - Static method in class com.sun.codemodel.fmt.SecureLoader
-
- getContextClassLoader() - Static method in class com.sun.codemodel.SecureLoader
-
- getDataStore() - Method in class com.sun.codemodel.fmt.JBinaryFile
-
- getExistingClass() - Method in exception com.sun.codemodel.JClassAlreadyExistsException
-
- getFile(JPackage, String) - Method in class com.sun.codemodel.writer.FileCodeWriter
-
- getFileSystemCaseSensitivity() - Static method in class com.sun.codemodel.JCodeModel
-
- 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
-
- 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.
- getPrimitiveType() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- getShortName(String) - Static method in class com.sun.codemodel.ac.ACTask
-
Gets the short name from a fully-qualified name.
- getSystemClassLoader() - Static method in class com.sun.codemodel.fmt.SecureLoader
-
- getSystemClassLoader() - Static method in class com.sun.codemodel.SecureLoader
-
- getThrows() - Method in class com.sun.codemodel.JMethod
-
- getTypeParameters() - Method in class com.sun.codemodel.JClass
-
If this class is parameterized, return the type parameter of the given index.
- getTypeParameters() - Method in class com.sun.codemodel.JNarrowedClass
-
- getValue() - Method in class com.sun.codemodel.JMods
-
Gets the bit-packed representaion of modifiers.
- getWrapperClass() - Method in class com.sun.codemodel.JPrimitiveType
-
- 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
-
- i() - Method in class com.sun.codemodel.JFormatter
-
Increment the indentation level.
- id(String) - Method in class com.sun.codemodel.JFormatter
-
Print an identifier
- id - Variable in class com.sun.codemodel.JFormatter.ReferenceList
-
true if this name is used as an identifier (like a variable name.)
- idx - Variable in class com.sun.codemodel.JCodeModel.TypeNameParser
-
- importedClasses - Variable in class com.sun.codemodel.JFormatter
-
set of imported types (including package java types, eventhough we won't generate imports for them)
- include - Variable in class com.sun.codemodel.ac.ACTask.Classes
-
- 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
-
- increment() - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Returns the number of UTF-16 characters consumed by the previous
parse.
- INDENT - Static variable in class com.sun.codemodel.JDocComment
-
- indentLevel - Variable in class com.sun.codemodel.JFormatter
-
Current number of indentation strings to print
- indentRequired - Variable in class com.sun.codemodel.JBlock
-
- indentSpace - Variable in class com.sun.codemodel.JFormatter
-
String to be used for each indentation.
- index - Variable in class com.sun.codemodel.JArrayCompRef
-
Integer expression representing index of the component
- index1 - Static variable in class com.sun.codemodel.util.MS1252Encoder
-
- index1 - Variable in class com.sun.codemodel.util.SingleByteEncoder
-
- index2 - Static variable in class com.sun.codemodel.util.MS1252Encoder
-
- index2 - Variable in class com.sun.codemodel.util.SingleByteEncoder
-
- init - Variable in class com.sun.codemodel.JDefinedClass
-
Static initializer, if this class has one
- 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 - Variable in class com.sun.codemodel.JVar
-
Initialization of the variable in its declaration
- init(JExpression) - Method in class com.sun.codemodel.JVar
-
Initialize this variable
- inits - Variable in class com.sun.codemodel.JForLoop
-
- insert(T) - Method in class com.sun.codemodel.JBlock
-
- INT - Variable in class com.sun.codemodel.JCodeModel
-
- INTERFACE - Static variable in class com.sun.codemodel.ClassType
-
- INTERFACE - Static variable in class com.sun.codemodel.JMods
-
- interfaces - Variable in class com.sun.codemodel.JDefinedClass
-
List of interfaces that this class implements
- 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
-
- invoke(Object, Method, Object[]) - Method in class com.sun.codemodel.TypedAnnotationWriter
-
- is(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Tells whether or not the given UTF-16 value is a surrogate character,
- isAbstract() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- isAbstract() - Method in class com.sun.codemodel.JArrayClass
-
- isAbstract() - Method in class com.sun.codemodel.JClass
-
Checks if this class is an abstract class.
- isAbstract() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- isAbstract() - Method in class com.sun.codemodel.JDefinedClass
-
- isAbstract() - Method in class com.sun.codemodel.JDirectClass
-
- isAbstract() - Method in class com.sun.codemodel.JMods
-
- isAbstract() - Method in class com.sun.codemodel.JNarrowedClass
-
- isAbstract() - Method in class com.sun.codemodel.JNullType
-
- isAbstract() - Method in class com.sun.codemodel.JTypeVar
-
- isAbstract() - Method in class com.sun.codemodel.JTypeWildcard
-
- 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.JArrayClass
-
- isArray() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- isArray() - Method in class com.sun.codemodel.JNarrowedClass
-
- 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
-
- isConstructor - Variable in class com.sun.codemodel.JInvocation
-
- isConstructor() - Method in class com.sun.codemodel.JMethod
-
- isDefaultCase - Variable in class com.sun.codemodel.JCase
-
is this a regular case statement or a default case statement?
- 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
-
- isHigh(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Tells whether or not the given UTF-16 value is a high surrogate.
- isId() - Method in class com.sun.codemodel.JFormatter.ReferenceList
-
Return true iff this is strictly an id, meaning that there
are no collisions with type names.
- isInterface() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- isInterface() - Method in class com.sun.codemodel.JArrayClass
-
- isInterface() - Method in class com.sun.codemodel.JClass
-
Checks if this object represents an interface.
- isInterface() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- isInterface() - Method in class com.sun.codemodel.JDefinedClass
-
- isInterface() - Method in class com.sun.codemodel.JDirectClass
-
- isInterface() - Method in class com.sun.codemodel.JNarrowedClass
-
- isInterface() - Method in class com.sun.codemodel.JNullType
-
- isInterface() - Method in class com.sun.codemodel.JTypeVar
-
- isInterface() - Method in class com.sun.codemodel.JTypeWildcard
-
- 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.
- isLow(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Tells whether or not the given UTF-16 value is a low surrogate.
- isNative() - Method in class com.sun.codemodel.JMods
-
- isOptimizable() - Method in class com.sun.codemodel.JAnnotationUse
-
- 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
-
- isPair - Variable in class com.sun.codemodel.util.Surrogate.Parser
-
- isPair() - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Tells whether or not the previously-parsed UCS-4 character was
originally represented by a surrogate pair.
- 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 - Variable in class com.sun.codemodel.fmt.JStaticFile
-
- 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.
- JAnnotatable - Interface in com.sun.codemodel
-
Annotatable program elements.
- JAnnotationArrayMember - Class in com.sun.codemodel
-
Represents an arrays as annotation members
- JAnnotationArrayMember(JCodeModel) - Constructor for class com.sun.codemodel.JAnnotationArrayMember
-
- JAnnotationStringValue - Class in com.sun.codemodel
-
Captures the value of the annotation.
- JAnnotationStringValue(JExpression) - Constructor for class com.sun.codemodel.JAnnotationStringValue
-
- JAnnotationUse - Class in com.sun.codemodel
-
Represents an annotation on a program element.
- JAnnotationUse(JClass) - Constructor for class com.sun.codemodel.JAnnotationUse
-
- 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 java.lang.annotation.Annotation> - Interface in com.sun.codemodel
-
Base interface for typed annotation writer.
- JAnonymousClass - Class in com.sun.codemodel
-
Anonymous class quick hack.
- JAnonymousClass(JClass) - Constructor for class com.sun.codemodel.JAnonymousClass
-
- JArray - Class in com.sun.codemodel
-
array creation and initialization.
- JArray(JType, JExpression) - Constructor for class com.sun.codemodel.JArray
-
- JArrayClass - Class in com.sun.codemodel
-
Array class.
- JArrayClass(JCodeModel, JType) - Constructor for class com.sun.codemodel.JArrayClass
-
- JArrayCompRef - Class in com.sun.codemodel
-
array component reference.
- JArrayCompRef(JExpression, JExpression) - Constructor for class com.sun.codemodel.JArrayCompRef
-
JArray component reference constructor given an array expression
and index.
- JAssignment - Class in com.sun.codemodel
-
Assignment statements, which are also expressions.
- JAssignment(JAssignmentTarget, JExpression) - Constructor for class com.sun.codemodel.JAssignment
-
- JAssignment(JAssignmentTarget, JExpression, String) - Constructor for class com.sun.codemodel.JAssignment
-
- JAssignmentTarget - Interface in com.sun.codemodel
-
Marker interface for code components that can be placed to
the left of '=' in an assignment.
- JAtom - Class in com.sun.codemodel
-
JAtoms: Simple code components that merely generate themselves.
- JAtom(String) - Constructor for class com.sun.codemodel.JAtom
-
- 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
-
- javaLang - Variable in class com.sun.codemodel.JFormatter
-
- 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
-
- JBreak - Class in com.sun.codemodel
-
JBreak statement
- JBreak(JLabel) - Constructor for class com.sun.codemodel.JBreak
-
JBreak constructor
- JCase - Class in com.sun.codemodel
-
Case statement
- JCase(JExpression) - Constructor for class com.sun.codemodel.JCase
-
Construct a case statement
- JCase(JExpression, boolean) - Constructor for class com.sun.codemodel.JCase
-
Construct a case statement.
- JCast - Class in com.sun.codemodel
-
A cast operation.
- JCast(JType, JExpression) - Constructor for class com.sun.codemodel.JCast
-
JCast constructor
- JCatchBlock - Class in com.sun.codemodel
-
Catch block for a try/catch/finally statement
- JCatchBlock(JClass) - Constructor for class com.sun.codemodel.JCatchBlock
-
- 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
-
- JCodeModel.JReferencedClass - Class in com.sun.codemodel
-
References to existing classes.
- JCodeModel.TypeNameParser - Class in com.sun.codemodel
-
- 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
- JConditional(JExpression) - Constructor for class com.sun.codemodel.JConditional
-
Constructor
- JContinue - Class in com.sun.codemodel
-
JContinue statement
- JContinue(JLabel) - Constructor for class com.sun.codemodel.JContinue
-
JContinue constructor.
- 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/....
- JDefinedClass(JClassContainer, int, String, ClassType) - Constructor for class com.sun.codemodel.JDefinedClass
-
- JDefinedClass(JCodeModel, int, String) - Constructor for class com.sun.codemodel.JDefinedClass
-
Constructor for creating anonymous inner class.
- JDefinedClass(int, String, JClassContainer, JCodeModel) - Constructor for class com.sun.codemodel.JDefinedClass
-
- JDefinedClass(int, String, JClassContainer, JCodeModel, ClassType) - Constructor for class com.sun.codemodel.JDefinedClass
-
JClass constructor
- JDirectClass - Class in com.sun.codemodel
-
A special
JClass
that represents an unknown class (except its name.)
- JDirectClass(JCodeModel, String) - Constructor for class com.sun.codemodel.JDirectClass
-
- jdoc - Variable in class com.sun.codemodel.JDefinedClass
-
class javadoc
- jdoc - Variable in class com.sun.codemodel.JEnumConstant
-
javadoc comments, if any.
- jdoc - Variable in class com.sun.codemodel.JFieldVar
-
javadoc comments for this JFieldVar
- jdoc - Variable in class com.sun.codemodel.JMethod
-
javadoc comments for this JMethod
- jdoc - Variable in class com.sun.codemodel.JPackage
-
package javadoc.
- 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
- JDoLoop(JExpression) - Constructor for class com.sun.codemodel.JDoLoop
-
Construct a Do statment
- JEnumConstant - Class in com.sun.codemodel
-
Enum Constant.
- JEnumConstant(JDefinedClass, String) - Constructor for class com.sun.codemodel.JEnumConstant
-
- JExpr - Class in com.sun.codemodel
-
- JExpr() - Constructor for class com.sun.codemodel.JExpr
-
This class is not instanciable.
- JExpression - Interface in com.sun.codemodel
-
A Java expression.
- JExpressionImpl - Class in com.sun.codemodel
-
- JExpressionImpl() - Constructor for class com.sun.codemodel.JExpressionImpl
-
- JFieldRef - Class in com.sun.codemodel
-
Field Reference
- JFieldRef(JExpression, String) - Constructor for class com.sun.codemodel.JFieldRef
-
Field reference constructor given an object expression and field name
- JFieldRef(JExpression, JVar) - Constructor for class com.sun.codemodel.JFieldRef
-
- JFieldRef(JType, String) - Constructor for class com.sun.codemodel.JFieldRef
-
Static field reference.
- JFieldRef(JType, JVar) - Constructor for class com.sun.codemodel.JFieldRef
-
- JFieldRef(JGenerable, String, boolean) - Constructor for class com.sun.codemodel.JFieldRef
-
- JFieldRef(JGenerable, JVar, boolean) - Constructor for class com.sun.codemodel.JFieldRef
-
- JFieldVar - Class in com.sun.codemodel
-
- JFieldVar(JDefinedClass, JMods, JType, String, JExpression) - Constructor for class com.sun.codemodel.JFieldVar
-
JFieldVar constructor
- 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.
- JFormatter.Mode - Enum in com.sun.codemodel
-
- JFormatter.ReferenceList - Class in com.sun.codemodel
-
Used during the optimization of class imports.
- 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.
- JGenerifiableImpl - Class in com.sun.codemodel
-
- JGenerifiableImpl() - Constructor for class com.sun.codemodel.JGenerifiableImpl
-
- JInvocation - Class in com.sun.codemodel
-
JMethod invocation
- JInvocation(JExpression, String) - Constructor for class com.sun.codemodel.JInvocation
-
Invokes a method on an object.
- JInvocation(JExpression, JMethod) - Constructor for class com.sun.codemodel.JInvocation
-
- JInvocation(JClass, String) - Constructor for class com.sun.codemodel.JInvocation
-
Invokes a static method on a class.
- JInvocation(JClass, JMethod) - Constructor for class com.sun.codemodel.JInvocation
-
- JInvocation(JGenerable, String) - Constructor for class com.sun.codemodel.JInvocation
-
- JInvocation(JGenerable, JMethod) - Constructor for class com.sun.codemodel.JInvocation
-
- JInvocation(JType) - Constructor for class com.sun.codemodel.JInvocation
-
Invokes a constructor of an object (i.e., creates
a new object.)
- JJavaName - Class in com.sun.codemodel
-
Utility methods that convert arbitrary strings into Java identifiers.
- JJavaName() - Constructor for class com.sun.codemodel.JJavaName
-
- JJavaName.Entry - Class in com.sun.codemodel
-
- JLabel - Class in com.sun.codemodel
-
Label that can be used for continue and break.
- JLabel(String) - Constructor for class com.sun.codemodel.JLabel
-
JBreak constructor
- JMethod - Class in com.sun.codemodel
-
Java method.
- JMethod(JDefinedClass, int, JType, String) - Constructor for class com.sun.codemodel.JMethod
-
JMethod constructor
- JMethod(int, JDefinedClass) - Constructor for class com.sun.codemodel.JMethod
-
Constructor constructor
- JMod - Class in com.sun.codemodel
-
Modifier constants.
- JMod() - Constructor for class com.sun.codemodel.JMod
-
- JMods - Class in com.sun.codemodel
-
Modifier groups.
- JMods(int) - Constructor for class com.sun.codemodel.JMods
-
- JNarrowedClass - Class in com.sun.codemodel
-
Represents X<Y>.
- JNarrowedClass(JClass, JClass) - Constructor for class com.sun.codemodel.JNarrowedClass
-
- JNarrowedClass(JClass, List<JClass>) - Constructor for class com.sun.codemodel.JNarrowedClass
-
- JNullType - Class in com.sun.codemodel
-
Special class object that represents the type of "null".
- JNullType(JCodeModel) - Constructor for class com.sun.codemodel.JNullType
-
- JOp - Class in com.sun.codemodel
-
JClass for generating expressions containing operators
- JOp() - Constructor for class com.sun.codemodel.JOp
-
- JOp.BinaryOp - Class in com.sun.codemodel
-
- JOp.TernaryOp - Class in com.sun.codemodel
-
- JOp.TightUnaryOp - Class in com.sun.codemodel
-
- JOp.UnaryOp - Class in com.sun.codemodel
-
- JPackage - Class in com.sun.codemodel
-
A Java package.
- JPackage(String, JCodeModel) - Constructor for class com.sun.codemodel.JPackage
-
JPackage constructor
- JPrimitiveType - Class in com.sun.codemodel
-
Java built-in primitive types.
- JPrimitiveType(JCodeModel, String, Class<?>) - Constructor for class com.sun.codemodel.JPrimitiveType
-
- JPropertyFile - Class in com.sun.codemodel.fmt
-
A property file.
- JPropertyFile(String) - Constructor for class com.sun.codemodel.fmt.JPropertyFile
-
- JReferencedClass(Class<?>) - Constructor for class com.sun.codemodel.JCodeModel.JReferencedClass
-
- 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
-
- JReturn - Class in com.sun.codemodel
-
A return statement
- JReturn(JExpression) - Constructor for class com.sun.codemodel.JReturn
-
JReturn constructor
- 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.
- JStaticClass() - Constructor for class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- 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
-
- JStaticJavaFile.JStaticClass - Class in com.sun.codemodel.fmt
-
- JStaticJavaFile.LineFilter - Interface in com.sun.codemodel.fmt
-
Filter that alters the Java source code.
- JStringLiteral - Class in com.sun.codemodel
-
String literal.
- JStringLiteral(String) - Constructor for class com.sun.codemodel.JStringLiteral
-
- JSwitch - Class in com.sun.codemodel
-
Switch statement
- JSwitch(JExpression) - Constructor for class com.sun.codemodel.JSwitch
-
Construct a While statment
- JTextFile - Class in com.sun.codemodel.fmt
-
Simple text file.
- JTextFile(String) - Constructor for class com.sun.codemodel.fmt.JTextFile
-
- JThrow - Class in com.sun.codemodel
-
JThrow statement
- JThrow(JExpression) - Constructor for class com.sun.codemodel.JThrow
-
JThrow constructor
- JTryBlock - Class in com.sun.codemodel
-
Try statement with Catch and/or Finally clause
- JTryBlock() - Constructor for class com.sun.codemodel.JTryBlock
-
- 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.
- JTypeVar(JCodeModel, String) - Constructor for class com.sun.codemodel.JTypeVar
-
- JTypeWildcard - Class in com.sun.codemodel
-
Represents a wildcard type like "? extends Foo".
- JTypeWildcard(JClass) - Constructor for class com.sun.codemodel.JTypeWildcard
-
- JVar - Class in com.sun.codemodel
-
Variables and fields.
- JVar(JMods, JType, String, JExpression) - Constructor for class com.sun.codemodel.JVar
-
JVar constructor
- JWhileLoop - Class in com.sun.codemodel
-
While statement
- JWhileLoop(JExpression) - Constructor for class com.sun.codemodel.JWhileLoop
-
Construct a While statment
- 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 - Variable in class com.sun.codemodel.JCodeModel
-
The packages that this JCodeWriter contains.
- 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
-
- 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 - Variable in class com.sun.codemodel.JMethod
-
List of parameters for this method's declaration
- 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.
- parse(char, CharBuffer) - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Parses a UCS-4 character from the given source buffer, handling
surrogates.
- parse(char, char[], int, int) - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Parses a UCS-4 character from the given source buffer, handling
surrogates.
- parseArguments(JClass) - Method in class com.sun.codemodel.JCodeModel.TypeNameParser
-
Parses '<T1,T2,...,Tn>'
- Parser() - Constructor for class com.sun.codemodel.util.Surrogate.Parser
-
- parseSuffix(JClass) - Method in class com.sun.codemodel.JCodeModel.TypeNameParser
-
Parses additional left-associative suffixes, like type arguments
and array specifiers.
- parseType(String) - Method in class com.sun.codemodel.JCodeModel
-
Obtains a type object from a type name.
- parseTypeName() - Method in class com.sun.codemodel.JCodeModel.TypeNameParser
-
Parses a type name token T (which can be potentially of the form Tr&ly;T1,T2,...>,
or "? extends/super T".)
- pattern - Variable in class com.sun.codemodel.JJavaName.Entry
-
- patterns - Variable in class com.sun.codemodel.ac.ACTask
-
- pkg - Variable in class com.sun.codemodel.ac.ACTask
-
The writers will be generated into this package.
- pkg - Variable in class com.sun.codemodel.fmt.JStaticJavaFile
-
- 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 - Variable in class com.sun.codemodel.JBlock
-
Current position.
- 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)
- printLink(JFormatter) - Method in class com.sun.codemodel.JClass
-
Prints the class name in javadoc @link format.
- printLink(JFormatter) - Method in class com.sun.codemodel.JNarrowedClass
-
- PRIVATE - Static variable in class com.sun.codemodel.JMod
-
- process(String, long) - Method in class com.sun.codemodel.ac.ACTask
-
Process a file.
- process(String) - Method in class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
-
- process(String) - Method in interface com.sun.codemodel.fmt.JStaticJavaFile.LineFilter
-
- processDir(File, String) - Method in class com.sun.codemodel.ac.ACTask
-
Visits a directory and looks for classes that match the specified pattern.
- processJar(File) - Method in class com.sun.codemodel.ac.ACTask
-
Visits a jar fil and looks for classes that match the specified pattern.
- progress - Variable in class com.sun.codemodel.writer.ProgressCodeWriter
-
- 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
-
- prolog - Variable in class com.sun.codemodel.writer.PrologCodeWriter
-
prolog comment
- 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
-
- pw - Variable in class com.sun.codemodel.JFormatter
-
Stream associated with this JFormatter
- s - Variable in class com.sun.codemodel.JCodeModel.TypeNameParser
-
- s(JStatement) - Method in class com.sun.codemodel.JFormatter
-
Cause the JStatement to generate source for itself
- second - Variable in class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
-
- SecureLoader - Class in com.sun.codemodel.fmt
-
Class defined for safe calls of getClassLoader methods of any kind (context/system/class
classloader.
- SecureLoader() - Constructor for class com.sun.codemodel.fmt.SecureLoader
-
- SecureLoader - Class in com.sun.codemodel
-
Class defined for safe calls of getClassLoader methods of any kind (context/system/class
classloader.
- SecureLoader() - Constructor for class com.sun.codemodel.SecureLoader
-
- serialVersionUID - Static variable in exception com.sun.codemodel.JClassAlreadyExistsException
-
- serialVersionUID - Static variable in class com.sun.codemodel.JCommentPart
-
- serialVersionUID - Static variable in class com.sun.codemodel.JDocComment
-
- setClasspath(Path) - Method in class com.sun.codemodel.ac.ACTask
-
Nested <classpath> element.
- setClasspathRef(Reference) - Method in class com.sun.codemodel.ac.ACTask
-
- setContents(String) - Method in class com.sun.codemodel.fmt.JTextFile
-
- setContextClassLoader(ClassLoader) - Static method in class com.sun.codemodel.fmt.SecureLoader
-
- setContextClassLoader(ClassLoader) - Static method in class com.sun.codemodel.SecureLoader
-
- setDestdir(File) - Method in class com.sun.codemodel.ac.ACTask
-
- setExcludes(String) - Method in class com.sun.codemodel.ac.ACTask.Classes
-
- setFinal(boolean) - Method in class com.sun.codemodel.JMods
-
- setFlag(int, boolean) - Method in class com.sun.codemodel.JMods
-
- setId(boolean) - Method in class com.sun.codemodel.JFormatter.ReferenceList
-
- setIncludes(String) - Method in class com.sun.codemodel.ac.ACTask.Classes
-
- setPackage(String) - Method in class com.sun.codemodel.ac.ACTask
-
- setPath(String) - Method in class com.sun.codemodel.ac.ACTask.Endorse
-
- setPrivate() - Method in class com.sun.codemodel.JMods
-
- setProject(Project) - Method in class com.sun.codemodel.ac.ACTask
-
- 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
-
- sgp - Variable in class com.sun.codemodel.util.SingleByteEncoder
-
- shift - Variable in class com.sun.codemodel.util.SingleByteEncoder
-
- 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
-
- SingleByteEncoder - Class in com.sun.codemodel.util
-
- SingleByteEncoder(Charset, short[], String, int, int, int) - Constructor for class com.sun.codemodel.util.SingleByteEncoder
-
- 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
-
- size - Variable in class com.sun.codemodel.JArray
-
- source - Variable in class com.sun.codemodel.fmt.JStaticJavaFile
-
- spaceIfNeeded(char) - Method in class com.sun.codemodel.JFormatter
-
- 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.JBreak
-
- 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.JContinue
-
- 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 class com.sun.codemodel.JReturn
-
- 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.JThrow
-
- 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.fmt.JStaticJavaFile.JStaticClass
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JArrayClass
-
- 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.JCodeModel.JReferencedClass
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JDefinedClass
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JDirectClass
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JNarrowedClass
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JNullType
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JTypeVar
-
- substituteParams(JTypeVar[], List<JClass>) - Method in class com.sun.codemodel.JTypeWildcard
-
- superClass - Variable in class com.sun.codemodel.JDefinedClass
-
Name of the super class of this class.
- supressImport(JClass, JClass) - Method in class com.sun.codemodel.JFormatter
-
determine if an import statement should be supressed
- Surrogate - Class in com.sun.codemodel.util
-
Utility class for dealing with surrogates.
- Surrogate() - Constructor for class com.sun.codemodel.util.Surrogate
-
- Surrogate.Generator - Class in com.sun.codemodel.util
-
Surrogate generation support.
- Surrogate.Parser - Class in com.sun.codemodel.util
-
Surrogate parsing support.
- SYNCHRONIZED - Static variable in class com.sun.codemodel.JMod
-
- t(JType) - Method in class com.sun.codemodel.JFormatter
-
- t(JClass) - Method in class com.sun.codemodel.JFormatter
-
Print a type name.
- TABLE - Static variable in class com.sun.codemodel.JJavaName
-
- target - Variable in class com.sun.codemodel.writer.FileCodeWriter
-
The target directory to put source code.
- TernaryOp(String, String, JExpression, JExpression, JExpression) - Constructor for class com.sun.codemodel.JOp.TernaryOp
-
- test - Variable in class com.sun.codemodel.JConditional
-
JExpression to test to determine branching
- test - Variable in class com.sun.codemodel.JDoLoop
-
Test part of Do statement for determining exit state
- test - Variable in class com.sun.codemodel.JForLoop
-
- test(JExpression) - Method in class com.sun.codemodel.JForLoop
-
- test - Variable in class com.sun.codemodel.JSwitch
-
Test part of switch statement.
- test() - Method in class com.sun.codemodel.JSwitch
-
- test - Variable in class com.sun.codemodel.JWhileLoop
-
Test part of While statement for determining exit state
- test() - Method in class com.sun.codemodel.JWhileLoop
-
- theInstance - Static variable in class com.sun.codemodel.util.ClassNameComparator
-
- TightUnaryOp(JExpression, String) - Constructor for class com.sun.codemodel.JOp.TightUnaryOp
-
- toDirName(JPackage) - Static method in class com.sun.codemodel.writer.FileCodeWriter
-
Converts a package name to the directory name.
- toDirName(JPackage) - Static method in class com.sun.codemodel.writer.ZipCodeWriter
-
Converts a package name to the directory name.
- toPath(File) - Method in class com.sun.codemodel.JPackage
-
Convert the package name to directory path equivalent
- toString() - Method in class com.sun.codemodel.JClass
-
- toString() - Method in class com.sun.codemodel.JMods
-
- toString() - Method in class com.sun.codemodel.JType
-
- toUCS4(char, char) - Static method in class com.sun.codemodel.util.Surrogate
-
Converts the given surrogate pair into a 32-bit UCS-4 character.
- TRANSIENT - Static variable in class com.sun.codemodel.JMod
-
- TRUE - Static variable in class com.sun.codemodel.JExpr
-
Boolean constant that represents true
- type - Variable in class com.sun.codemodel.JArray
-
- type - Variable in class com.sun.codemodel.JCast
-
JType to which the expression is to be cast.
- type - Variable in class com.sun.codemodel.JEnumConstant
-
The enum class.
- type - Variable in class com.sun.codemodel.JForEach
-
- type - Variable in class com.sun.codemodel.JInvocation
-
If isConstructor==true, this field keeps the type to be created.
- type - Variable in class com.sun.codemodel.JMethod
-
Return type for this method
- 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 - Variable in class com.sun.codemodel.JVar
-
JType of the variable
- 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.
- TypedAnnotationWriter<A extends java.lang.annotation.Annotation,W extends JAnnotationWriter<A>> - Class in com.sun.codemodel
-
Dynamically implements the typed annotation writer interfaces.
- TypedAnnotationWriter(Class<A>, Class<W>, JAnnotationUse) - Constructor for class com.sun.codemodel.TypedAnnotationWriter
-
- typeName - Variable in class com.sun.codemodel.JPrimitiveType
-
- TypeNameParser(String) - Constructor for class com.sun.codemodel.JCodeModel.TypeNameParser
-
- typeParams - Variable in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- typeParams() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- typeParams() - Method in class com.sun.codemodel.JClass
-
Iterates all the type parameters of this class/interface.
- typeParams() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- 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.
- typeParams() - Method in class com.sun.codemodel.JGenerifiableImpl
-
- typeVariables - Variable in class com.sun.codemodel.JGenerifiableImpl
-
- __null - Static variable in class com.sun.codemodel.JExpr
-
- __super - Static variable in class com.sun.codemodel.JExpr
-
- __this - Static variable in class com.sun.codemodel.JExpr
-
- _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
-
- _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 - Variable in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- _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 - Variable in class com.sun.codemodel.JConditional
-
JBlock of statements for optional "else" clause
- _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.fmt.JStaticJavaFile.JStaticClass
-
- _extends() - Method in class com.sun.codemodel.JArrayClass
-
- _extends() - Method in class com.sun.codemodel.JClass
-
Gets the super class of this class.
- _extends() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- _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.JDirectClass
-
- _extends() - Method in class com.sun.codemodel.JNarrowedClass
-
- _extends() - Method in class com.sun.codemodel.JNullType
-
- _extends() - Method in class com.sun.codemodel.JTypeVar
-
Returns the class bound of this variable.
- _extends() - Method in class com.sun.codemodel.JTypeWildcard
-
Returns the class bound of this variable.
- _finally - Variable in class com.sun.codemodel.JTryBlock
-
- _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
-
- _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.fmt.JStaticJavaFile.JStaticClass
-
- _implements() - Method in class com.sun.codemodel.JArrayClass
-
- _implements() - Method in class com.sun.codemodel.JClass
-
Iterates all super interfaces directly implemented by
this class/interface.
- _implements() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
-
- _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.JDirectClass
-
- _implements() - Method in class com.sun.codemodel.JNarrowedClass
-
- _implements() - Method in class com.sun.codemodel.JNullType
-
- _implements() - Method in class com.sun.codemodel.JTypeVar
-
Returns the interface bounds of this variable.
- _implements() - Method in class com.sun.codemodel.JTypeWildcard
-
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
-
- _owner - Variable in class com.sun.codemodel.JClass
-
- _package() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
-
- _package() - Method in class com.sun.codemodel.JArrayClass
-
- _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.JCodeModel.JReferencedClass
-
- _package() - Method in class com.sun.codemodel.JDefinedClass
-
- _package() - Method in class com.sun.codemodel.JDirectClass
-
- _package() - Method in class com.sun.codemodel.JNarrowedClass
-
- _package() - Method in class com.sun.codemodel.JNullType
-
- _package() - Method in class com.sun.codemodel.JTypeVar
-
- _package() - Method in class com.sun.codemodel.JTypeWildcard
-
- _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 - Variable in class com.sun.codemodel.JConditional
-
JBlock of statements for "then" clause
- _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 - Variable in class com.sun.codemodel.JMethod
-
Set of exceptions that this method may throw.
- _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