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 pkg1;
242N/A
242N/Aimport pkg2.*;
242N/A
242N/A/**
242N/A * A test class.
242N/A *
242N/A * @author Bhavesh Patel
242N/A */
242N/Apublic class C1 implements I1 {
242N/A
242N/A /**
242N/A * Test field for class.
242N/A */
242N/A public C2 field;
242N/A
242N/A /**
242N/A * Constant value.
242N/A */
242N/A public static final String CONSTANT1 = "C1";
242N/A
242N/A /**
242N/A * A test constructor.
242N/A */
242N/A C1() {
242N/A }
242N/A
242N/A /**
242N/A * Method thats does some processing.
242N/A *
242N/A * @param param some parameter that is passed.
242N/A * @return a sample object.
242N/A */
242N/A public C2 method(C2 param) {
242N/A return param;
242N/A }
242N/A
242N/A /**
242N/A * Method that is implemented.
242N/A *
242N/A * @param a some random value.
242N/A * @param b some random value.
242N/A */
242N/A public void method1(int a, int b) {
242N/A }
242N/A
242N/A /**
242N/A * Another inherited method.
242N/A * @param c some value.
242N/A */
242N/A public void method2(int c) {
242N/A }
242N/A
242N/A /**
242N/A * @deprecated don't use this anymore.
242N/A */
242N/A public void deprecatedMethod() {}
242N/A}