Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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(JClass) - Method in class com.sun.codemodel.JFormatter.ReferenceList
- 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(String, String) - Method in class com.sun.codemodel.fmt.JPropertyFile
-
Adds key/value pair into the property file.
- 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(JVar) - Method in class com.sun.codemodel.JDocComment
-
Append a text to an @param tag.
- addParam(String) - Method in class com.sun.codemodel.JDocComment
-
Append a text to a @param tag to the javadoc
- 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(JClass) - Method in class com.sun.codemodel.JDocComment
-
add an @throws tag to the javadoc
- addThrows(Class<? extends Throwable>) - 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, String, 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.
- annotate(JClass) - Method in interface com.sun.codemodel.JAnnotatable
-
Adds an annotation to this program element.
- annotate(JClass) - Method in class com.sun.codemodel.JAnnotationArrayMember
-
Adds a new annotation to the array.
- 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(JClass) - Method in class com.sun.codemodel.JMethod
-
Adds an annotation to this variable.
- annotate(JClass) - 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 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(Class<? extends Annotation>) - Method in class com.sun.codemodel.JAnnotationUse
-
Deprecated.
- annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JDefinedClass
-
Adding ability to annotate a class
- annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JEnumConstant
-
Adds an annotation to this variable.
- annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JMethod
-
Adds an annotation to this variable.
- annotate(Class<? extends Annotation>) - Method in class com.sun.codemodel.JPackage
- 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 - Variable in class com.sun.codemodel.JDefinedClass
-
Annotations on this variable.
- annotations - Variable in class com.sun.codemodel.JEnumConstant
-
Annotations on this variable.
- annotations - Variable in class com.sun.codemodel.JMethod
-
Annotations on this variable.
- annotations - Variable in class com.sun.codemodel.JPackage
-
Lazily created list of package annotations.
- annotations - Variable in class com.sun.codemodel.JVar
-
Annotations on this variable.
- 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
- annotations() - Method in class com.sun.codemodel.JDefinedClass
- annotations() - Method in class com.sun.codemodel.JEnumConstant
- 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
- 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(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.JArrayCompRef
- assign(JExpression) - Method in interface com.sun.codemodel.JAssignmentTarget
- assign(JExpression) - Method in class com.sun.codemodel.JFieldRef
- assign(JExpression) - Method in class com.sun.codemodel.JVar
- 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.JArrayCompRef
- assignPlus(JExpression) - Method in interface com.sun.codemodel.JAssignmentTarget
- 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
- 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 - Variable 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 - Variable in class com.sun.codemodel.JForEach
- body - Variable 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 - Variable 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.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 - Variable in class com.sun.codemodel.JTypeVar
- bound - Variable in class com.sun.codemodel.JTypeWildcard
- 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
- bracesRequired - Variable in class com.sun.codemodel.JBlock
-
Whether or not this block must be braced and indented
- 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(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(File, File, PrintStream) - Method in class com.sun.codemodel.JCodeModel
-
Generates Java source code.
- build(File, PrintStream) - Method in class com.sun.codemodel.JCodeModel
-
Generates Java source code.
- 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(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
- 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 - Variable in class com.sun.codemodel.JDefinedClass
-
Nested classes as a map from name to JDefinedClass.
- 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 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.
- Classes() - Constructor for class com.sun.codemodel.ac.ACTask.Classes
- 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 - Variable in class com.sun.codemodel.JDefinedClass
-
Default value is class or interface or annotationTypeDeclaration or enum
- 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
- 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)
- COLLECTING - Enum constant in enum com.sun.codemodel.JFormatter.Mode
-
Collect all the type names and identifiers.
- 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) - Method in interface com.sun.codemodel.JExpression
- component(JExpression) - Method in class com.sun.codemodel.JExpressionImpl
- component(JExpression, JExpression) - Static method in class com.sun.codemodel.JExpr
- 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
-
Returns the number of files to be generated if
JCodeModel.build(java.io.File, java.io.PrintStream)
is invoked now. - 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
-
Creates a
JStaticJavaFile.LineFilter
. - createProxy() - Method in class com.sun.codemodel.TypedAnnotationWriter
-
Creates a proxy and returns it.
D
- d(JDeclaration) - Method in class com.sun.codemodel.JFormatter
-
Cause the JDeclaration to generate source for itself
- data - Variable in class com.sun.codemodel.fmt.JPropertyFile
- decl(int, JType, String, JExpression) - Method in class com.sun.codemodel.JBlock
-
Adds a local variable declaration to this block
- 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
- declarationToken - Variable in class com.sun.codemodel.ClassType
-
The keyword used to declare this type.
- declare(JFormatter) - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
- 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.JGenerifiableImpl
- 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
- defaultCase - Variable in class com.sun.codemodel.JSwitch
-
a single default case
- defaultValue - Variable in class com.sun.codemodel.JMethod
-
To set the default value for the annotation member
- 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.
- directBlock - Variable in class com.sun.codemodel.JDefinedClass
-
String that will be put directly inside the generated code.
- 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
- e - Variable in class com.sun.codemodel.JOp.UnaryOp
- e1 - Variable in class com.sun.codemodel.JOp.TernaryOp
- e2 - Variable in class com.sun.codemodel.JOp.TernaryOp
- e3 - Variable in class com.sun.codemodel.JOp.TernaryOp
- elementType() - Method in class com.sun.codemodel.JArrayClass
- 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.
- encode(char) - Method in class com.sun.codemodel.util.SingleByteEncoder
- encodeArrayLoop(CharBuffer, ByteBuffer) - Method in class com.sun.codemodel.util.SingleByteEncoder
- encodeBufferLoop(CharBuffer, ByteBuffer) - Method in class com.sun.codemodel.util.SingleByteEncoder
- encodeLoop(CharBuffer, ByteBuffer) - Method in class com.sun.codemodel.util.SingleByteEncoder
- 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.
- Endorse() - Constructor for class com.sun.codemodel.ac.ACTask.Endorse
- endorsedJar - Variable in class com.sun.codemodel.ac.ACTask.Endorse
- endorsedJars - Variable in class com.sun.codemodel.ac.ACTask
- Entry(String, String) - Constructor for class com.sun.codemodel.JJavaName.Entry
- 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.
- enumConstantsByName - Variable in class com.sun.codemodel.JDefinedClass
-
Set of enum constants that are keyed by names.
- 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
- equals(Object) - Method in class com.sun.codemodel.JArrayClass
- equals(Object) - Method in class com.sun.codemodel.JNarrowedClass
- erasure() - Method in class com.sun.codemodel.JClass
- erasure() - Method in class com.sun.codemodel.JNarrowedClass
- erasure() - Method in class com.sun.codemodel.JType
-
Returns the erasure of this type.
- error - Variable in class com.sun.codemodel.util.Surrogate.Generator
- error - Variable in class com.sun.codemodel.util.Surrogate.Parser
- error() - Method in class com.sun.codemodel.util.Surrogate.Generator
-
If the previous generation operation detected an error, return the object describing that error.
- error() - Method in class com.sun.codemodel.util.Surrogate.Parser
-
If the previous parse operation detected an error, return the object describing that error.
- escape(String) - Method in class com.sun.codemodel.JCommentPart
-
Escapes the appearance of the comment terminator.
- exception - Variable in class com.sun.codemodel.JCatchBlock
- exclude - Variable in class com.sun.codemodel.ac.ACTask.Classes
- execute() - Method in class com.sun.codemodel.ac.ACTask
- existing - Variable in exception class com.sun.codemodel.JClassAlreadyExistsException
- explicitThis - Variable in class com.sun.codemodel.JFieldRef
-
Indicates if an explicit this should be generated
- expr - Variable in class com.sun.codemodel.JReturn
-
JExpression to return; may be null.
- expr - Variable in class com.sun.codemodel.JThrow
-
JExpression to throw
- exprs - Variable in class com.sun.codemodel.JArray
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, 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) - Method in class com.sun.codemodel.JDefinedClass
- field(int, Class<?>, String, JExpression) - Method in class com.sun.codemodel.JDefinedClass
- FIELD - Static variable in class com.sun.codemodel.JMods
- fields - Variable in class com.sun.codemodel.JDefinedClass
-
Fields keyed by their names.
- 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, boolean) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
- FileCodeWriter(File, boolean, String) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
- FileCodeWriter(File, String) - Constructor for class com.sun.codemodel.writer.FileCodeWriter
- filter - Variable in class com.sun.codemodel.fmt.JStaticJavaFile
- filter - Variable in class com.sun.codemodel.writer.ZipCodeWriter
- FilterCodeWriter - Class in com.sun.codemodel.writer
-
CodeWriter
that delegates to anotherCodeWriter
. - FilterCodeWriter(CodeWriter) - Constructor for class com.sun.codemodel.writer.FilterCodeWriter
- FINAL - Static variable in class com.sun.codemodel.JMod
- findAnnotationType(Class<?>) - Static method in class com.sun.codemodel.TypedAnnotationWriter
- first - Variable in class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
- flattenAppend(Object) - Method in class com.sun.codemodel.JCommentPart
- FLOAT - Variable in class com.sun.codemodel.JCodeModel
- forClass(int) - Static method in class com.sun.codemodel.JMods
- 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
- forField(int) - Static method in class com.sun.codemodel.JMods
- forInterface(int) - Static method in class com.sun.codemodel.JMods
- format(JFormatter, String) - Method in class com.sun.codemodel.JCommentPart
-
Writes this part into the formatter by using the specified indentation.
- forMethod(int) - Static method in class com.sun.codemodel.JMods
- forVar(int) - Static method in class com.sun.codemodel.JMods
- fullName - Variable in class com.sun.codemodel.JDirectClass
- fullName() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
- fullName() - Method in class com.sun.codemodel.JAnonymousClass
- fullName() - Method in class com.sun.codemodel.JArrayClass
- fullName() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
- fullName() - Method in class com.sun.codemodel.JDefinedClass
-
Gets the fully qualified name of this class.
- fullName() - Method in class com.sun.codemodel.JDirectClass
- fullName() - Method in class com.sun.codemodel.JNarrowedClass
- 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
- fullName() - Method in class com.sun.codemodel.JTypeWildcard
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
JGenerable
s separated by ',' - 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.
- 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(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
- 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
-
Helper class to implement
JGenerifiable
. - generify(String) - 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) - Method in class com.sun.codemodel.JGenerifiableImpl
- generify(String, JClass) - Method in class com.sun.codemodel.JDefinedClass
- generify(String, JClass) - Method in interface com.sun.codemodel.JGenerifiable
-
Adds a new type variable to this declaration with a bound.
- generify(String, JClass) - Method in class com.sun.codemodel.JGenerifiableImpl
- generify(String, Class<?>) - Method in class com.sun.codemodel.JDefinedClass
- generify(String, Class<?>) - Method in interface com.sun.codemodel.JGenerifiable
-
Adds a new type variable to this declaration with a bound.
- generify(String, Class<?>) - 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
-
Returns a read-only view of
JStatement
s andJDeclaration
in this block. - 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 class com.sun.codemodel.JClassAlreadyExistsException
-
Gets a reference to the existing
JDefinedClass
. - 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
-
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.
- 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
-
Deprecated.
- 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
- hashCode() - Method in class com.sun.codemodel.JArrayClass
- hashCode() - Method in class com.sun.codemodel.JNarrowedClass
- 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.
- hasTopOp(JExpression) - Static method in class com.sun.codemodel.JOp
-
Determine whether the top level of an expression involves an operator.
- 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.
- hideFile - Variable in class com.sun.codemodel.JDefinedClass
-
Flag that controls whether this class should be really generated or not.
- high(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Returns the high UTF-16 surrogate for the given UCS-4 character.
I
- i() - Method in class com.sun.codemodel.JFormatter
-
Increment the indentation level.
- id - Variable in class com.sun.codemodel.JFormatter.ReferenceList
-
true if this name is used as an identifier (like a variable name.)
- id(String) - Method in class com.sun.codemodel.JFormatter
-
Print an identifier
- 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 - Variable in class com.sun.codemodel.JVar
-
Initialization of the variable in its declaration
- 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(JExpression) - Method in class com.sun.codemodel.JVar
-
Initialize this variable
- init(JType, String, JExpression) - Method in class com.sun.codemodel.JForLoop
- init(JVar, JExpression) - Method in class com.sun.codemodel.JForLoop
- 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, JMethod) - Method in class com.sun.codemodel.JBlock
-
Creates an invocation statement and adds it to this block.
- invoke(JExpression, JMethod) - Static method in class com.sun.codemodel.JExpr
- invoke(JExpression, String) - Method in class com.sun.codemodel.JBlock
-
Creates an invocation statement and adds it to this block.
- invoke(JExpression, String) - Static method in class com.sun.codemodel.JExpr
- invoke(JMethod) - Method in class com.sun.codemodel.JBlock
-
Creates an invocation statement and adds it to this block.
- invoke(JMethod) - Static method in class com.sun.codemodel.JExpr
- invoke(JMethod) - Method in interface com.sun.codemodel.JExpression
-
Returns "[this].[method]".
- invoke(JMethod) - Method in class com.sun.codemodel.JExpressionImpl
- invoke(Object, Method, Object[]) - Method in class com.sun.codemodel.TypedAnnotationWriter
- invoke(String) - 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(String) - Method in interface com.sun.codemodel.JExpression
-
Returns "[this].[method]".
- invoke(String) - Method in class com.sun.codemodel.JExpressionImpl
- 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.
J
- 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> - 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 Class in com.sun.codemodel
-
Indicates that the class is already created.
- JClassAlreadyExistsException(JDefinedClass) - Constructor for exception class 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(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
- 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.
- 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
-
Factory methods that generate various
JExpression
s. - 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
-
Provides default implementations for
JExpression
. - JExpressionImpl() - Constructor for class com.sun.codemodel.JExpressionImpl
- JFieldRef - Class in com.sun.codemodel
-
Field Reference
- JFieldRef(JExpression, JVar) - Constructor for class com.sun.codemodel.JFieldRef
- JFieldRef(JExpression, String) - Constructor for class com.sun.codemodel.JFieldRef
-
Field reference constructor given an object expression and field name
- JFieldRef(JGenerable, JVar, boolean) - Constructor for class com.sun.codemodel.JFieldRef
- JFieldRef(JGenerable, String, boolean) - Constructor for class com.sun.codemodel.JFieldRef
- JFieldRef(JType, JVar) - Constructor for class com.sun.codemodel.JFieldRef
- JFieldRef(JType, String) - Constructor for class com.sun.codemodel.JFieldRef
-
Static field reference.
- JFieldVar - Class in com.sun.codemodel
-
A field that can have a
JDocComment
associated with it - 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) - Constructor for class com.sun.codemodel.JFormatter
-
Creates a formatter with default incremental indentations of four spaces.
- JFormatter(PrintWriter, String) - Constructor for class com.sun.codemodel.JFormatter
-
Creates a JFormatter.
- 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
-
Implementation of
JGenerifiable
. - JGenerifiableImpl() - Constructor for class com.sun.codemodel.JGenerifiableImpl
- JInvocation - Class in com.sun.codemodel
-
JMethod invocation
- JInvocation(JClass, 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(JExpression, JMethod) - Constructor for class com.sun.codemodel.JInvocation
- JInvocation(JExpression, String) - Constructor for class com.sun.codemodel.JInvocation
-
Invokes a method on an object.
- JInvocation(JGenerable, JMethod) - Constructor for class com.sun.codemodel.JInvocation
- JInvocation(JGenerable, String) - 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(int, JDefinedClass) - Constructor for class com.sun.codemodel.JMethod
-
Constructor constructor
- JMethod(JDefinedClass, int, JType, String) - Constructor for class com.sun.codemodel.JMethod
-
JMethod 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(ClassLoader, String, boolean) - Constructor for class com.sun.codemodel.fmt.JStaticFile
- JStaticFile(String) - Constructor for class com.sun.codemodel.fmt.JStaticFile
- JStaticFile(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 twoJStaticJavaFile.LineFilter
s. - 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
L
- label - Variable in class com.sun.codemodel.JBreak
- label - Variable in class com.sun.codemodel.JCase
-
label part of the case statement
- label - Variable in class com.sun.codemodel.JContinue
- label - Variable in class com.sun.codemodel.JLabel
- label() - Method in class com.sun.codemodel.JCase
- label(String) - Method in class com.sun.codemodel.JBlock
-
Create a label, which can be referenced from
continue
andbreak
statements. - lastChar - Variable in class com.sun.codemodel.JFormatter
- left - Variable in class com.sun.codemodel.JOp.BinaryOp
- lhs - Variable in class com.sun.codemodel.JAssignment
- Library for generating Java source code - Search tag in package com.sun.codemodel
- Section
- 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(char) - Static method in class com.sun.codemodel.JExpr
- lit(double) - Static method in class com.sun.codemodel.JExpr
- lit(float) - 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(String) - Static method in class com.sun.codemodel.JExpr
- loadClass(String, boolean) - Method in class com.sun.codemodel.ac.MaskingClassLoader
- LONG - Variable in class com.sun.codemodel.JCodeModel
- loopVar - Variable in class com.sun.codemodel.JForEach
- low(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Returns the low UTF-16 surrogate for the given UCS-4 character.
- 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
- mask1 - Variable in class com.sun.codemodel.util.SingleByteEncoder
- mask2 - Variable in class com.sun.codemodel.util.SingleByteEncoder
- MaskingClassLoader - Class in com.sun.codemodel.ac
-
ClassLoader
that masks a specified set of classes from its parent class loader. - MaskingClassLoader(ClassLoader, String...) - Constructor for class com.sun.codemodel.ac.MaskingClassLoader
- MaskingClassLoader(ClassLoader, Collection<String>) - Constructor for class com.sun.codemodel.ac.MaskingClassLoader
- MaskingClassLoader(String...) - Constructor for class com.sun.codemodel.ac.MaskingClassLoader
- MaskingClassLoader(Collection<String>) - Constructor for class com.sun.codemodel.ac.MaskingClassLoader
- masks - Variable in class com.sun.codemodel.ac.MaskingClassLoader
- MAX - Static variable in class com.sun.codemodel.util.Surrogate
- MAX_HIGH - Static variable in class com.sun.codemodel.util.Surrogate
- MAX_LOW - Static variable in class com.sun.codemodel.util.Surrogate
- memberValues - Variable in class com.sun.codemodel.JAnnotationUse
-
Map of member values.
- metadata - Variable in class com.sun.codemodel.JDefinedClass
-
Client-app spcific metadata associated with this user-created class.
- method - Variable in class com.sun.codemodel.JInvocation
- 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
- METHOD - Static variable in class com.sun.codemodel.JMods
- methods - Variable in class com.sun.codemodel.JDefinedClass
-
Set of methods that are members of this class
- methods() - Method in class com.sun.codemodel.JDefinedClass
-
Returns the set of methods defined in this class.
- MIN - Static variable in class com.sun.codemodel.util.Surrogate
- MIN_HIGH - Static variable in class com.sun.codemodel.util.Surrogate
- MIN_LOW - Static variable in class com.sun.codemodel.util.Surrogate
- minus() - Method in interface com.sun.codemodel.JExpression
-
Returns "-[this]" from "[this]".
- minus() - Method in class com.sun.codemodel.JExpressionImpl
- minus(JExpression) - Method in interface com.sun.codemodel.JExpression
-
Returns "[this]-[right]"
- 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
- mode - Variable in class com.sun.codemodel.JFormatter
-
The current running mode.
- Mode() - Constructor for enum com.sun.codemodel.JFormatter.Mode
- mods - Variable in class com.sun.codemodel.JDefinedClass
-
Modifiers for the class declaration
- mods - Variable in class com.sun.codemodel.JMethod
-
Modifiers for this method
- mods - Variable in class com.sun.codemodel.JMods
-
bit-packed representation of modifiers.
- mods - Variable in class com.sun.codemodel.JVar
-
Modifiers.
- 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 - Variable in class com.sun.codemodel.JDefinedClass
-
Name of this class.
- name - Variable in class com.sun.codemodel.JEnumConstant
-
The constant.
- name - Variable in class com.sun.codemodel.JFieldRef
-
Name of the field to be accessed.
- name - Variable in class com.sun.codemodel.JInvocation
-
Name of the method to be invoked.
- name - Variable in class com.sun.codemodel.JMethod
-
Name of this method
- name - Variable in class com.sun.codemodel.JPackage
-
Name of the package.
- name - Variable in class com.sun.codemodel.JResourceFile
- name - Variable in class com.sun.codemodel.JTypeVar
- name - Variable in class com.sun.codemodel.JVar
-
Name of the variable
- name() - Method in class com.sun.codemodel.fmt.JStaticJavaFile.JStaticClass
- name() - Method in class com.sun.codemodel.JArrayClass
- name() - Method in class com.sun.codemodel.JClass
-
Gets the name of this class.
- name() - Method in class com.sun.codemodel.JCodeModel.JReferencedClass
- name() - Method in class com.sun.codemodel.JDefinedClass
-
JClass name accessor.
- name() - Method in class com.sun.codemodel.JDirectClass
- name() - Method in class com.sun.codemodel.JMethod
- name() - Method in class com.sun.codemodel.JNarrowedClass
- 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.JTypeWildcard
- name() - Method in class com.sun.codemodel.JVar
-
Get the name of this variable
- name(String) - Method in class com.sun.codemodel.JFieldVar
- name(String) - Method in class com.sun.codemodel.JMethod
-
Changes the name of the method.
- name(String) - Method in class com.sun.codemodel.JVar
-
Changes the name of this variable.
- narrow(JClass) - Method in class com.sun.codemodel.JClass
-
"Narrows" a generic class to a concrete class by specifying a type argument.
- narrow(JClass) - Method in class com.sun.codemodel.JNarrowedClass
- narrow(JClass...) - Method in class com.sun.codemodel.JClass
- narrow(JClass...) - Method in class com.sun.codemodel.JNarrowedClass
- narrow(JType) - Method in class com.sun.codemodel.JClass
- 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(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
- neededFor(int) - Static method in class com.sun.codemodel.util.Surrogate
-
Tells whether or not the given UCS-4 character must be represented as a surrogate pair in UTF-16.
- needSpace(char, char) - Method in class com.sun.codemodel.JFormatter
- 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, int) - Static method in class com.sun.codemodel.JExpr
-
Generates
new T[size]
. - newArray(JType, JExpression) - 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.
- obj - Variable in class com.sun.codemodel.fmt.JSerializedObject
- object - Variable in class com.sun.codemodel.JCast
-
JExpression to be cast.
- object - Variable in class com.sun.codemodel.JFieldRef
-
Object expression upon which this field will be accessed, or null for the implicit 'this'.
- object - Variable in class com.sun.codemodel.JInvocation
-
Object expression upon which this method will be invoked, or null if this is a constructor invocation
- op - Variable in class com.sun.codemodel.JAssignment
- op - Variable in class com.sun.codemodel.JOp.BinaryOp
- op - Variable in class com.sun.codemodel.JOp.UnaryOp
- op1 - Variable in class com.sun.codemodel.JOp.TernaryOp
- op2 - Variable in class com.sun.codemodel.JOp.TernaryOp
- 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
- opFirst - Variable in class com.sun.codemodel.JOp.UnaryOp
- out - Variable in class com.sun.codemodel.writer.SingleStreamCodeWriter
- outer - Variable in class com.sun.codemodel.JDefinedClass
-
If this is a package-member class, this is
JPackage
. - outer - Variable in class com.sun.codemodel.JMethod
- 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.JCodeModel.JReferencedClass
- outer() - Method in class com.sun.codemodel.JDefinedClass
- output - Variable in class com.sun.codemodel.ac.ACTask
-
Output directory
- owner - Variable in class com.sun.codemodel.JAnnotationArrayMember
- owner - Variable in class com.sun.codemodel.JDocComment
- owner - Variable in class com.sun.codemodel.JFieldVar
- owner - Variable in class com.sun.codemodel.JPackage
- owner - Variable in class com.sun.codemodel.JPrimitiveType
- owner() - Method in class com.sun.codemodel.JAnnotationUse
- 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.JGenerifiableImpl
- 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 - 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(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(float) - 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(int, JType, String) - Method in class com.sun.codemodel.JMethod
-
Add the specified variable to the list of parameters for this method signature.
- param(int, Class<?>, String) - Method in class com.sun.codemodel.JMethod
- 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(JAnnotationUse) - Method in class com.sun.codemodel.JAnnotationArrayMember
- 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(JType) - Method in class com.sun.codemodel.JAnnotationArrayMember
- param(JType, String) - Method in class com.sun.codemodel.JMethod
- param(Class<?>) - Method in class com.sun.codemodel.JAnnotationArrayMember
-
Adds a class array member to this annotation
- param(Class<?>, String) - Method in class com.sun.codemodel.JMethod
- param(Enum<?>) - Method in class com.sun.codemodel.JAnnotationArrayMember
-
Adds a enum array member to this annotation
- param(String) - Method in class com.sun.codemodel.JAnnotationArrayMember
-
Adds an array member to this annotation
- param(String) - Method in class com.sun.codemodel.JCatchBlock
- 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, int) - 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, JEnumConstant) - Method in class com.sun.codemodel.JAnnotationUse
-
Adds a member value pair to this annotation
- param(String, JExpression) - Method in class com.sun.codemodel.JAnnotationUse
-
Adds a member value pair to this annotation.
- 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, 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, Enum<?>) - 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
- 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(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.
- 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(JCodeModel, String) - Static method in class com.sun.codemodel.JType
-
Obtains a reference to the primitive type object from a type name.
- 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
- Performance - Search tag in package com.sun.codemodel
- Section
- 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 asInteger.TYPE
to its boxed type (such as Integer.class) - PRINTING - Enum constant in enum com.sun.codemodel.JFormatter.Mode
-
Print the actual source code.
- 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) - Method in class com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
- process(String) - Method in interface com.sun.codemodel.fmt.JStaticJavaFile.LineFilter
- process(String, long) - Method in class com.sun.codemodel.ac.ACTask
-
Process a file.
- 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
Q
- queue - Variable in class com.sun.codemodel.ac.ACTask
-
Map from annotation classes to their writers.
- queue(String, long) - Method in class com.sun.codemodel.ac.ACTask
-
Queues a file for generation.
- quotify(char, String) - Static method in class com.sun.codemodel.JExpr
-
Escapes the given string, then surrounds it by the specified quotation mark.
R
- readOnly - Variable in class com.sun.codemodel.writer.FileCodeWriter
-
specify whether or not to mark the generated files read-only
- readonlyFiles - Variable in class com.sun.codemodel.writer.FileCodeWriter
-
Files that shall be marked as read only.
- 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(JVar) - Method in class com.sun.codemodel.JExpressionImpl
- 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(String) - Method in interface com.sun.codemodel.JExpression
- ref(String) - Method in class com.sun.codemodel.JExpressionImpl
- ref(String) - Method in class com.sun.codemodel.JPackage
-
Reference a class within this package.
- refClasses - Variable in class com.sun.codemodel.JCodeModel
-
All JReferencedClasses are pooled here.
- ReferenceList() - Constructor for class com.sun.codemodel.JFormatter.ReferenceList
- 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. - replacement - Variable in class com.sun.codemodel.JJavaName.Entry
- report(JPackage, String) - Method in class com.sun.codemodel.writer.ProgressCodeWriter
- requireEscaping(int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
-
Can be overrided.
- reservedKeywords - Static variable in class com.sun.codemodel.JJavaName
-
All reserved keywords of Java.
- resourceName - Variable in class com.sun.codemodel.fmt.JStaticFile
- resources - Variable in class com.sun.codemodel.JPackage
-
List of resources files inside this package.
- rhs - Variable in class com.sun.codemodel.JAssignment
- right - Variable in class com.sun.codemodel.JOp.BinaryOp
- rootPackage() - Method in class com.sun.codemodel.JCodeModel
S
- 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 - 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.fmt.SecureLoader
- SecureLoader() - Constructor for class com.sun.codemodel.SecureLoader
- serialVersionUID - Static variable in exception class 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(JVar) - Method in class com.sun.codemodel.JClass
-
Static field reference.
- staticRef(String) - 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
- t(JClass) - Method in class com.sun.codemodel.JFormatter
-
Print a type name.
- t(JType) - Method in class com.sun.codemodel.JFormatter
- 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 - Variable in class com.sun.codemodel.JSwitch
-
Test part of switch statement.
- test - Variable in class com.sun.codemodel.JWhileLoop
-
Test part of While statement for determining exit state
- test() - Method in class com.sun.codemodel.JSwitch
- test() - Method in class com.sun.codemodel.JWhileLoop
- test(JExpression) - Method in class com.sun.codemodel.JForLoop
- 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 - Variable in class com.sun.codemodel.JVar
-
JType of the variable
- type() - Method in class com.sun.codemodel.JMethod
-
Returns 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.JMethod
-
Overrides the return type.
- type(JType) - Method in class com.sun.codemodel.JVar
-
Sets the type of this variable.
- TypedAnnotationWriter<A,
W> - 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
-
Lazily created list of
JTypeVar
s.
U
- UCS4_MAX - Static variable in class com.sun.codemodel.util.Surrogate
- UCS4_MIN - Static variable in class com.sun.codemodel.util.Surrogate
- UnaryOp(JExpression, String) - Constructor for class com.sun.codemodel.JOp.UnaryOp
- UnaryOp(String, JExpression) - Constructor for class com.sun.codemodel.JOp.UnaryOp
- 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
- unmappableResult() - Method in class com.sun.codemodel.util.Surrogate.Parser
-
Returns an unmappable-input result object, with the appropriate input length, for the previously-parsed character.
- 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
- updates - Variable in class com.sun.codemodel.JForLoop
- upperCaseClassMap - Variable in class com.sun.codemodel.JPackage
-
All
JClass
s in this package keyed the upper case class name. - use - Variable in class com.sun.codemodel.TypedAnnotationWriter
-
This is what we are writing to.
- userLoader - Variable in class com.sun.codemodel.ac.ACTask
-
Used during the build to load annotation classes.
- Using CodeModel - Search tag in package com.sun.codemodel
- Section
V
- value - Variable in class com.sun.codemodel.JAnnotationStringValue
-
The value of the Annotation member
- valueOf(String) - Static method in enum com.sun.codemodel.JFormatter.Mode
-
Returns the enum constant of this type with the specified name.
- values - Variable in class com.sun.codemodel.JAnnotationArrayMember
- values() - Static method in enum com.sun.codemodel.JFormatter.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- var - Variable in class com.sun.codemodel.JCatchBlock
- var - Variable in class com.sun.codemodel.JFieldRef
-
Variable to be accessed.
- var - Variable in class com.sun.codemodel.JForEach
- var() - Method in class com.sun.codemodel.JForEach
-
Returns a reference to the loop variable.
- VAR - Static variable in class com.sun.codemodel.JMods
- varParam - Variable in class com.sun.codemodel.JMethod
-
Variable parameter for this method's varargs declaration introduced in J2SE 1.5
- varParam(JType, String) - Method in class com.sun.codemodel.JMethod
-
Add the specified variable argument to the list of parameters for this method signature.
- varParam(Class<?>, String) - Method in class com.sun.codemodel.JMethod
- VOID - Variable in class com.sun.codemodel.JCodeModel
- VOLATILE - Static variable in class com.sun.codemodel.JMod
W
- what - Variable in class com.sun.codemodel.JAtom
- Where to go from here? - Search tag in class com.sun.codemodel.JCodeModel
- Section
- Where to go from here? - Search tag in class com.sun.codemodel.JDefinedClass
- Section
- wildcard - Variable in class com.sun.codemodel.JCodeModel
-
Cached for
JCodeModel.wildcard()
. - 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.
- wrapperClass - Variable in class com.sun.codemodel.JPrimitiveType
-
Corresponding wrapper class.
- write(char[]) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
- write(char[]) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
- write(char[], int, int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
- write(char[], int, int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
- write(int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
- write(int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
- write(JDefinedClass) - Method in class com.sun.codemodel.JFormatter
-
Generates the whole source code out of the specified class.
- write(String) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
- write(String) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
- write(String, int, int) - Method in class com.sun.codemodel.util.JavadocEscapeWriter
- write(String, int, int) - Method in class com.sun.codemodel.util.UnicodeEscapeWriter
- writerType - Variable in class com.sun.codemodel.TypedAnnotationWriter
-
The type of the writer.
- ws() - Method in class com.sun.codemodel.JCodeModel.TypeNameParser
-
Skips whitespaces
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
- zip - Variable in class com.sun.codemodel.writer.ZipCodeWriter
- 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
_
- __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 - Variable in class com.sun.codemodel.JCodeModel.JReferencedClass
- _class(int, String) - Method in interface com.sun.codemodel.JClassContainer
-
Add a new class to this package/class.
- _class(int, String) - Method in class com.sun.codemodel.JDefinedClass
-
Add a new 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 interface com.sun.codemodel.JClassContainer
-
Deprecated.
- _class(int, String, boolean) - Method in class com.sun.codemodel.JDefinedClass
-
Deprecated.
- _class(int, String, boolean) - Method in class com.sun.codemodel.JPackage
-
Deprecated.
- _class(int, String, ClassType) - Method in interface com.sun.codemodel.JClassContainer
-
Creates a new class/enum/interface/annotation.
- _class(int, String, ClassType) - Method in class com.sun.codemodel.JCodeModel
-
Creates a new generated class.
- _class(int, String, ClassType) - Method in class com.sun.codemodel.JDefinedClass
- _class(int, String, ClassType) - Method in class com.sun.codemodel.JPackage
- _class(String) - Method in interface com.sun.codemodel.JClassContainer
-
Add a new public class to this class/package.
- _class(String) - Method in class com.sun.codemodel.JCodeModel
-
Creates a new generated class.
- _class(String) - Method in class com.sun.codemodel.JDefinedClass
-
Add a new public nested class to this class.
- _class(String) - Method in class com.sun.codemodel.JPackage
-
Adds a public class to this package.
- _class(String, ClassType) - Method in class com.sun.codemodel.JCodeModel
-
Creates a new generated class.
- _continue() - Method in class com.sun.codemodel.JBlock
- _continue(JLabel) - Method in class com.sun.codemodel.JBlock
-
Create a continue statement and add it to this block
- _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(int, String) - Method in class com.sun.codemodel.JDefinedClass
-
Add a public enum to this package
- _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(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() - 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.
- _extends(JClass) - Method in class com.sun.codemodel.JDefinedClass
-
This class extends the specifed class.
- _extends(Class<?>) - Method in class com.sun.codemodel.JDefinedClass
- _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
-
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.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() - 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.
- _implements(JClass) - Method in class com.sun.codemodel.JDefinedClass
-
This class implements the specifed interface.
- _implements(Class<?>) - Method in class com.sun.codemodel.JDefinedClass
- _instanceof(JExpression, JType) - Static method in class com.sun.codemodel.JOp
- _instanceof(JType) - Method in interface com.sun.codemodel.JExpression
-
Returns "[this] instanceof [right]"
- _instanceof(JType) - Method in class com.sun.codemodel.JExpressionImpl
- _interface(int, String) - Method in interface com.sun.codemodel.JClassContainer
-
Add an interface to this class/package.
- _interface(int, String) - Method in class com.sun.codemodel.JDefinedClass
-
Add an interface to this package.
- _interface(int, String) - Method in class com.sun.codemodel.JPackage
-
Add an interface to this package.
- _interface(String) - Method in interface com.sun.codemodel.JClassContainer
-
Adds a public interface to this package.
- _interface(String) - Method in class com.sun.codemodel.JDefinedClass
-
Adds a public 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() - 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
- _package(String) - Method in class com.sun.codemodel.JCodeModel
-
Add a package to the list of packages to be generated
- _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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)