242N/A/*
553N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
242N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
242N/A *
242N/A * This code is free software; you can redistribute it and/or modify it
242N/A * under the terms of the GNU General Public License version 2 only, as
242N/A * published by the Free Software Foundation.
242N/A *
242N/A * This code is distributed in the hope that it will be useful, but WITHOUT
242N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
242N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
242N/A * version 2 for more details (a copy is included in the LICENSE file that
242N/A * accompanied this code).
242N/A *
242N/A * You should have received a copy of the GNU General Public License version
242N/A * 2 along with this work; if not, write to the Free Software Foundation,
242N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
242N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
242N/A */
242N/A
242N/Apackage pkg2;
242N/A
242N/Aimport pkg1.*;
242N/A
242N/A/**
242N/A * Another test class.
242N/A *
242N/A * @author Bhavesh Patel
242N/A */
242N/Apublic class C2 {
242N/A
242N/A /**
242N/A * A test field.
242N/A */
242N/A public C1 field;
242N/A
242N/A /**
242N/A * @deprecated don't use this field anymore.
242N/A */
242N/A public C1 dep_field;
242N/A
242N/A /**
242N/A * A sample enum.
242N/A */
242N/A public static enum ModalExclusionType {
242N/A /**
242N/A * Test comment.
242N/A */
242N/A NO_EXCLUDE,
242N/A /**
242N/A * Another comment.
242N/A */
242N/A APPLICATION_EXCLUDE
242N/A };
242N/A
242N/A /**
242N/A * A string constant.
242N/A */
242N/A public static final String CONSTANT1 = "C2";
242N/A
242N/A /**
242N/A * A sample method.
242N/A *
242N/A * @param param some parameter.
242N/A * @return a test object.
242N/A */
242N/A public C1 method(C1 param) {
242N/A return param;
242N/A }
242N/A}