Searched defs:packages (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/
H A DAssertionStatusDirectives.java68 String[] packages; field in class:AssertionStatusDirectives
71 * A parallel array to <tt>packages</tt>, indicating whether each
74 * package-tree named by <tt>packages[i]</tt> should have assertions
77 * elements as <tt>packages</tt>.
81 * string <tt>s</tt> appears multiple times in the <tt>packages</tt> array
83 * <tt>packages[i].equals(s)</tt>, then <tt>packageEnabled[i]</tt>
H A DClassLoader.java242 // Hashtable that maps packages to certs
245 // Shared among all packages with unsigned classes
266 // The packages defined in this class loader. Each package name is mapped
269 private final HashMap<String, Package> packages = new HashMap<>(); field in class:ClassLoader
737 * all classes in the "<tt>java.*</tt> packages can only be defined by the
1571 * class loaders to define the packages for their classes. Packages must
1616 synchronized (packages) {
1624 packages.put(name, pkg);
1643 synchronized (packages) {
1644 pkg = packages
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DInstanceFinder.java42 private volatile String[] packages; field in class:InstanceFinder
44 InstanceFinder(Class<? extends T> type, boolean allow, String suffix, String... packages) { argument
48 this.packages = packages.clone();
52 return this.packages.clone();
55 public void setPackages(String... packages) { argument
56 this.packages = (packages != null) && (packages.length > 0)
57 ? packages
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DTreeWriter.java49 private PackageDoc[] packages; field in class:TreeWriter
52 * True if there are no packages specified on the command line,
68 packages = configuration.packages;
69 classesonly = packages.length == 0;
125 if (packages.length == 1 && packages[0].name().length() == 0) {
134 for (int i = 0; i < packages.length; i++) {
138 if (packages[i].name().length() == 0 ||
139 (configuration.nodeprecated && Util.isDeprecated(packages[
[all...]
H A DAbstractPackageIndexWriter.java47 protected PackageDoc[] packages; field in class:AbstractPackageIndexWriter
50 * Constructor. Also initialises the packages variable.
58 packages = configuration.packages;
83 * Adds the packages list to the documentation tree.
85 * @param packages an array of packagedoc objects
88 * @param body the document tree to which the packages list will be added
90 protected abstract void addPackagesList(PackageDoc[] packages, String text, argument
127 addIndexContents(packages, "doclet.Package_Summary",
130 configuration.getText("doclet.packages")), bod
142 addIndexContents(PackageDoc[] packages, String text, String tableSummary, Content body) argument
[all...]
H A DPackageIndexFrameWriter.java75 protected void addPackagesList(PackageDoc[] packages, String text, argument
82 for(int i = 0; i < packages.length; i++) {
85 if (packages[i] != null &&
86 (!(configuration.nodeprecated && Util.isDeprecated(packages[i])))) {
87 ul.addContent(getPackage(packages[i]));
H A DPackageIndexWriter.java51 * Map representing the group of packages as specified on the command line.
74 groupPackageMap = configuration.group.groupPackages(packages);
111 groupname, configuration.getText("doclet.packages")), body);
119 protected void addPackagesList(PackageDoc[] packages, String text, argument
125 addPackagesList(packages, tbody);
132 * Adds list of packages in the index table. Generate link to each package.
134 * @param packages Packages to which link is to be generated
137 protected void addPackagesList(PackageDoc[] packages, Content tbody) { argument
138 for (int i = 0; i < packages.length; i++) {
139 if (packages[
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DImports.java36 * This class describes the classes and packages imported
44 * - check if the class is defined in any of the imported packages,
57 * and has precedence over other imported packages.
68 * The imported classes, including memoized imports from packages.
77 Vector packages = new Vector(); field in class:Imports
138 for (Enumeration e = packages.elements() ; e.hasMoreElements() ;) {
176 packages = resolvedPackages;
258 * and packages.
306 Enumeration e = packages.elements();
426 final int size = packages
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DArguments.java78 packages.put ("CORBA", "org.omg"); // klr - always needed
82 // This order has the effect of making command line packages
83 // supercede any idl.config file packages.
164 packages.put (type, pkg);
257 packages.put (type, pkg);
317 public Hashtable packages = new Hashtable (); field in class:Arguments
338 // packages table.
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DGroup.java33 * Process and manage grouping of packages, as specified by "-group" option on
38 * the packages specified on the command line will be grouped according to their
39 * names starting with either "java." or "org.omg.". All the other packages
45 * Also the packages are grouped according to the longest possible match of
164 * Group the packages according the grouping information provided on the
165 * command line. Given a list of packages, search each package name in
172 * then all the packages will be grouped under group "Packages".
174 * @param packages Packages specified on the command line.
176 public Map<String,List<PackageDoc>> groupPackages(PackageDoc[] packages) { argument
186 for (int i = 0; i < packages
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DRootDocImpl.java42 * Particularly the packages, classes and options specified
58 * list of packages specified on the command line.
72 * @param packages list of package names specified on the commandline
75 public RootDocImpl(DocEnv env, List<JCClassDecl> classes, List<String> packages, List<String[]> options) { argument
78 setPackages(env, packages);
127 * Initialize packages information.
130 * @param packages a list of package names (String)
132 private void setPackages(DocEnv env, List<String> packages) { argument
134 for (String name : packages) {
188 * packages) t
[all...]
H A DJavadocTool.java161 // Recursively search given subpackages. If any packages
166 // Parse the packages
245 * Add all packages found in such a directory to packages list.
249 ListBuffer<String> packages,
265 packages, packageFiles,
274 ListBuffer<String> packages,
290 if (!packages.contains(packageName))
291 packages.add(packageName);
318 * Add all packages foun
247 searchSubPackages( List<String> subPackages, ListBuffer<String> packages, List<String> excludedPackages) argument
272 searchSubPackages(List<String> subPackages, Map<String,Boolean> includedPackages, ListBuffer<String> packages, Map<String, List<JavaFileObject>> packageFiles, StandardLocation location, Set<JavaFileObject.Kind> kinds) argument
320 searchSubPackage(String packageName, ListBuffer<String> packages, List<String> excludedPackages, Collection<File> pathnames) argument
[all...]
/openjdk7/langtools/test/tools/javac/scope/
H A DStarImportTest.java131 * Setup env by creating pseudo-random collection of names, packages and classes.
186 packages.add(p);
208 * Create a star-import scope and a model therof, from the packages and
262 for (PackageSymbol p: packages) {
315 List<PackageSymbol> packages = new ArrayList<PackageSymbol>(); field in class:StarImportTest.Test
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJCodeModel.java82 /** The packages that this JCodeWriter contains. */
83 private HashMap<String,JPackage> packages = new HashMap<String,JPackage>(); field in class:JCodeModel
124 * Add a package to the list of packages to be generated
132 JPackage p = packages.get(name);
135 packages.put(name, p);
145 * Returns an iterator that walks the packages defined using this code
148 public Iterator<JPackage> packages() { method in class:JCodeModel
149 return packages.values().iterator();
293 JPackage[] pkgs = packages.values().toArray(new JPackage[packages
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DConfiguration.java258 * An array of the packages specified on the command-line merged
259 * with the array of packages that contain the classes specified on the
262 public PackageDoc[] packages; field in class:Configuration
351 packages = results.toArray(new PackageDoc[] {});
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DSymtab.java188 /** A hashtable containing the encountered packages.
189 * the table should be updated from outside to reflect packages defined
192 public final Map<Name, PackageSymbol> packages = new HashMap<Name, PackageSymbol>(); field in class:Symtab
/openjdk7/jdk/src/share/classes/sun/tools/javac/
H A DBatchEnvironment.java64 Hashtable packages = new Hashtable(31); field in class:BatchEnvironment
279 * A set of Identifiers for all packages exempt from the "exists"
280 * check in Imports#resolve(). These are the current packages for
291 // Collect a list of the packages of all classes currently
300 * Set the set of packages which are exempt from the exists check
315 // In order to implement this, we collect the current packages
316 // (and prefixes) of all packages we have found so far. These
322 // Add all of the current packages and their prefixes to our set.
342 // are performed for "ordinary" packages in
349 // Add java.lang to the set of exempt packages
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassLoader.cpp379 // Hand off current packages to current lazy entry (if any)
428 // Hand off current packages to current lazy entry (if any)
642 // identifies java packages with jar files in the boot classpath.
728 void copy_pkgnames(const char** packages) { argument
732 packages[n++] = pp->pkgname();
854 const char** packages; local
859 if ((packages = NEW_RESOURCE_ARRAY(const char*, nof_entries)) == NULL) {
862 _package_hash_table->copy_pkgnames(packages);
869 Handle str = java_lang_String::create_from_str(packages[i], CHECK_0);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java169 /** A hashtable containing the encountered packages.
171 private Map<Name, PackageSymbol> packages; field in class:ClassReader
230 /** Initialize classes and packages, treating this as the definitive classreader. */
235 /** Initialize classes and packages, optionally treating this as
242 Assert.check(packages == null || packages == syms.packages);
243 packages = syms.packages;
247 packages
[all...]

Completed in 10577 milliseconds