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 JPackageJClass. _package()Gets the package to which this class belongs.JPackageJCodeModel. _package(String name)Add a package to the list of packages to be generatedJPackageJDefinedClass. _package()JPackageJNullType. _package()JPackageJTypeVar. _package()JPackageJClassContainer. getPackage()Gets the nearest package parent.JPackageJDefinedClass. getPackage()JPackageJPackage. getPackage()JPackageJPackage. parent()Gets the parent package, or null if this class is the root package.JPackageJCodeModel. rootPackage()JPackageJPackage. 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 intJPackage. compareTo(JPackage that)Order 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.WriterCodeWriter. 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 FileFileCodeWriter. getFile(JPackage pkg, String fileName)OutputStreamFileCodeWriter. openBinary(JPackage pkg, String fileName)OutputStreamFilterCodeWriter. openBinary(JPackage pkg, String fileName)OutputStreamProgressCodeWriter. openBinary(JPackage pkg, String fileName)OutputStreamSingleStreamCodeWriter. openBinary(JPackage pkg, String fileName)OutputStreamZipCodeWriter. openBinary(JPackage pkg, String fileName)WriterFilterCodeWriter. openSource(JPackage pkg, String fileName)WriterProgressCodeWriter. openSource(JPackage pkg, String fileName)WriterPrologCodeWriter. openSource(JPackage pkg, String fileName)
-