Uses of Class
com.sun.codemodel.JPackage
Packages that use JPackage
Package
Description
Library for generating Java source code
Various resource file formats (classes that implement
JResourceFile).-
Uses of JPackage in com.sun.codemodel
Classes in com.sun.codemodel that implement interfaces with type arguments of type JPackageMethods in com.sun.codemodel that return JPackageModifier and TypeMethodDescriptionabstract JPackageJClass._package()Gets the package to which this class belongs.Add a package to the list of packages to be generatedfinal JPackageJDefinedClass._package()JNullType._package()JTypeVar._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.fmt
Constructors 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)