Uses of Class
com.sun.codemodel.JPackage
-
Packages that use JPackage Package Description com.sun.codemodel Library for generating Java source codecom.sun.codemodel.fmt Various resource file formats (classes that implementJResourceFile
).com.sun.codemodel.writer -
-
Uses of JPackage in com.sun.codemodel
Methods in com.sun.codemodel that return JPackage Modifier and Type Method Description abstract JPackage
JClass. _package()
Gets the package to which this class belongs.JPackage
JCodeModel. _package(String name)
Add a package to the list of packages to be generatedJPackage
JDefinedClass. _package()
JPackage
JNullType. _package()
JPackage
JTypeVar. _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(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 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 OutputStream
CodeWriter. openBinary(JPackage pkg, String fileName)
Called by CodeModel to store the specified file.Writer
CodeWriter. openSource(JPackage pkg, String fileName)
Called by CodeModel to store the specified file. -
Uses of JPackage in com.sun.codemodel.fmt
Constructors in com.sun.codemodel.fmt with parameters of type JPackage Constructor Description JStaticJavaFile(JPackage _pkg, String className, String _resourceName)
JStaticJavaFile(JPackage _pkg, String _className, 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 File
FileCodeWriter. getFile(JPackage pkg, String fileName)
OutputStream
FileCodeWriter. openBinary(JPackage pkg, String fileName)
OutputStream
FilterCodeWriter. openBinary(JPackage pkg, String fileName)
OutputStream
ProgressCodeWriter. openBinary(JPackage pkg, String fileName)
OutputStream
SingleStreamCodeWriter. openBinary(JPackage pkg, String fileName)
OutputStream
ZipCodeWriter. openBinary(JPackage pkg, String fileName)
Writer
FilterCodeWriter. openSource(JPackage pkg, String fileName)
Writer
ProgressCodeWriter. openSource(JPackage pkg, String fileName)
Writer
PrologCodeWriter. openSource(JPackage pkg, String fileName)
-