Uses of Class
com.sun.codemodel.JPackage
-
Packages that use JPackage Package Description com.sun.codemodel Library for generating Java source codecom.sun.codemodel.ac com.sun.codemodel.fmt com.sun.codemodel.writer -
-
Uses of JPackage in com.sun.codemodel
Fields in com.sun.codemodel declared as JPackage Modifier and Type Field Description private JPackage
JFormatter. javaLang
Fields in com.sun.codemodel with type parameters of type JPackage Modifier and Type Field Description private java.util.HashMap<java.lang.String,JPackage>
JCodeModel. packages
The packages that this JCodeWriter contains.Methods in com.sun.codemodel that return JPackage Modifier and Type Method Description JPackage
JArrayClass. _package()
abstract JPackage
JClass. _package()
Gets the package to which this class belongs.JPackage
JCodeModel. _package(java.lang.String name)
Add a package to the list of packages to be generatedJPackage
JCodeModel.JReferencedClass. _package()
JPackage
JDefinedClass. _package()
JPackage
JDirectClass. _package()
JPackage
JNarrowedClass. _package()
JPackage
JNullType. _package()
JPackage
JTypeVar. _package()
JPackage
JTypeWildcard. _package()
JPackage
JClassContainer. getPackage()
Gets the nearest package parent.JPackage
JDefinedClass. getPackage()
JPackage
JPackage. getPackage()
JPackage
JPackage. parent()
Gets the parent package, or null if this class is the root package.JPackage
JCodeModel. rootPackage()
JPackage
JPackage. subPackage(java.lang.String pkg)
Gets a reference to a sub package of this package.Methods in com.sun.codemodel that return types with arguments of type JPackage Modifier and Type Method Description java.util.Iterator<JPackage>
JCodeModel. packages()
Returns an iterator that walks the packages defined using this code writer.Methods in com.sun.codemodel with parameters of type JPackage Modifier and Type Method Description int
JPackage. compareTo(JPackage that)
Order is based on the lexicological order of the package name.abstract java.io.OutputStream
CodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
Called by CodeModel to store the specified file.java.io.Writer
CodeWriter. openSource(JPackage pkg, java.lang.String fileName)
Called by CodeModel to store the specified file. -
Uses of JPackage in com.sun.codemodel.ac
Fields in com.sun.codemodel.ac declared as JPackage Modifier and Type Field Description private JPackage
ACTask. pkg
The writers will be generated into this package. -
Uses of JPackage in com.sun.codemodel.fmt
Fields in com.sun.codemodel.fmt declared as JPackage Modifier and Type Field Description private JPackage
JStaticJavaFile. pkg
Methods in com.sun.codemodel.fmt that return JPackage Modifier and Type Method Description JPackage
JStaticJavaFile.JStaticClass. _package()
Constructors in com.sun.codemodel.fmt with parameters of type JPackage Constructor Description JStaticJavaFile(JPackage _pkg, java.lang.String className, java.lang.String _resourceName)
JStaticJavaFile(JPackage _pkg, java.lang.String _className, java.net.URL _source, JStaticJavaFile.LineFilter _filter)
-
Uses of JPackage in com.sun.codemodel.writer
Methods in com.sun.codemodel.writer with parameters of type JPackage Modifier and Type Method Description protected java.io.File
FileCodeWriter. getFile(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
FileCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
FilterCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
ProgressCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
SingleStreamCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
ZipCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.Writer
FilterCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
java.io.Writer
ProgressCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
java.io.Writer
PrologCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
private void
ProgressCodeWriter. report(JPackage pkg, java.lang.String fileName)
private static java.lang.String
FileCodeWriter. toDirName(JPackage pkg)
Converts a package name to the directory name.private static java.lang.String
ZipCodeWriter. toDirName(JPackage pkg)
Converts a package name to the directory name.
-