Uses of Class
com.sun.codemodel.JPackage
Packages that use JPackage
Package
Description
Library for generating Java source code
-
Uses of JPackage in com.sun.codemodel
Fields in com.sun.codemodel declared as JPackageFields in com.sun.codemodel with type parameters of type JPackageModifier and TypeFieldDescriptionJCodeModel.packages
The packages that this JCodeWriter contains.Methods in com.sun.codemodel that return JPackageModifier and TypeMethodDescriptionJArrayClass._package()
abstract JPackage
JClass._package()
Gets the package to which this class belongs.Add a package to the list of packages to be generatedJCodeModel.JReferencedClass._package()
final JPackage
JDefinedClass._package()
JDirectClass._package()
JNarrowedClass._package()
JNullType._package()
JTypeVar._package()
JTypeWildcard._package()
JClassContainer.getPackage()
Gets the nearest package parent.JDefinedClass.getPackage()
JPackage.getPackage()
JPackage.parent()
Gets the parent package, or null if this class is the root package.final JPackage
JCodeModel.rootPackage()
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 JPackageModifier and TypeMethodDescriptionJCodeModel.packages()
Returns an iterator that walks the packages defined using this code writer.Methods in com.sun.codemodel with parameters of type JPackageModifier and TypeMethodDescriptionint
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.CodeWriter.openSource
(JPackage pkg, 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 -
Uses of JPackage in com.sun.codemodel.fmt
Fields in com.sun.codemodel.fmt declared as JPackageMethods in com.sun.codemodel.fmt that return JPackageConstructors in com.sun.codemodel.fmt with parameters of type JPackageModifierConstructorDescriptionJStaticJavaFile
(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 JPackageModifier and TypeMethodDescriptionprotected File
FileCodeWriter.openBinary
(JPackage pkg, String fileName) FilterCodeWriter.openBinary
(JPackage pkg, String fileName) ProgressCodeWriter.openBinary
(JPackage pkg, String fileName) SingleStreamCodeWriter.openBinary
(JPackage pkg, String fileName) ZipCodeWriter.openBinary
(JPackage pkg, String fileName) FilterCodeWriter.openSource
(JPackage pkg, String fileName) ProgressCodeWriter.openSource
(JPackage pkg, String fileName) PrologCodeWriter.openSource
(JPackage pkg, String fileName) private void
private static String
Converts a package name to the directory name.private static String
Converts a package name to the directory name.