325N/A * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 325N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 325N/A * This code is free software; you can redistribute it and/or modify it 325N/A * under the terms of the GNU General Public License version 2 only, as 325N/A * published by the Free Software Foundation. Oracle designates this 325N/A * particular file as subject to the "Classpath" exception as provided 325N/A * by Oracle in the LICENSE file that accompanied this code. 325N/A * This code is distributed in the hope that it will be useful, but WITHOUT 325N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 325N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 325N/A * version 2 for more details (a copy is included in the LICENSE file that 325N/A * accompanied this code). 325N/A * You should have received a copy of the GNU General Public License version 325N/A * 2 along with this work; if not, write to the Free Software Foundation, 325N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 325N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 325N/A * or visit www.oracle.com if you need additional information or have any 325N/A * May be the empty string for the root package. 325N/A * List of classes contained within this package keyed by their name. 325N/A * List of resources files inside this package. 325N/A * All {@link JClass}s in this package keyed the upper case class name. 325N/A * This field is non-null only on Windows, to detect 325N/A * "Foo" and "foo" as a collision. 325N/A * Lazily created list of package annotations. 325N/A * @param cw The code writer being used to create this package 325N/A * @throws IllegalArgumentException 325N/A * If each part of the package name is not a valid identifier 325N/A * Gets the parent package, or null if this class is the root package. 325N/A * Add a class to this package. 325N/A * Modifiers for this class declaration 325N/A * Name of class to be added to this package 325N/A * @return Newly generated class 325N/A * @exception JClassAlreadyExistsException 325N/A // XXX problems caught in the NC constructor 325N/A * Adds a public class to this package. 325N/A * Gets a reference to the already created {@link JDefinedClass}. 325N/A * If the class is not yet created. 325N/A * Order is based on the lexicological order of the package name. 325N/A * Add an interface to this package. 325N/A * Modifiers for this interface declaration 325N/A * Name of interface to be added to this package 325N/A * @return Newly generated interface 325N/A * Adds a public interface to this package. 325N/A * Add an annotationType Declaration to this package 325N/A * Name of the annotation Type declaration to be added to this package 325N/A * newly created Annotation Type Declaration 325N/A * @exception JClassAlreadyExistsException 325N/A * Add a public enum to this package 325N/A * Name of the enum to be added to this package 325N/A * @exception JClassAlreadyExistsException 325N/A * Adds a new resource file to this package. 325N/A * Checks if a resource of the given name exists. 325N/A * Iterates all resource files in this package. 325N/A * Creates, if necessary, and returns the package javadoc for this 325N/A * @return JDocComment containing javadocs for this class 325N/A * Removes a class from this package. 325N/A "the specified class is not a member of this package," +
" or it is a referenced class");
325N/A // note that c may not be a member of classes. 325N/A // this happens when someone is trying to remove a non generated class 325N/A * Reference a class within this package. 325N/A * Gets a reference to a sub package of this package. 325N/A * Returns an iterator that walks the top-level classes defined in this 325N/A * Checks if this package is the root, unnamed package. 325N/A * Get the name of this package 325N/A * The name of this package, or the empty string if this is the 325N/A * null package. For example, this method returns strings like 325N/A * <code>"java.lang"</code> 325N/A * Return the code model root object being used to create this package. 325N/A * Convert the package name to directory path equivalent 325N/A continue;
// don't generate this file 325N/A // write package annotations 325N/A // TODO: think about importing 325N/A continue;
// don't generate this file