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
Classes in com.sun.codemodel that implement interfaces with type arguments of type JPackageFields in com.sun.codemodel declared as JPackageFields in com.sun.codemodel with type parameters of type JPackageModifier and TypeFieldDescriptionJCodeModel.packagesThe packages that this JCodeWriter contains.Methods in com.sun.codemodel that return JPackageModifier and TypeMethodDescriptionJArrayClass._package()abstract JPackageJClass._package()Gets the package to which this class belongs.Add a package to the list of packages to be generatedJCodeModel.JReferencedClass._package()final JPackageJDefinedClass._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 JPackageJCodeModel.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 TypeMethodDescriptionintOrder is based on the lexicological order of the package name.abstract OutputStreamCodeWriter.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 FileFileCodeWriter.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 voidprivate static StringConverts a package name to the directory name.private static StringConverts a package name to the directory name.