1 /******************************************************************************* 2 * Copyright (c) 2008, 2013 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package a.b.c; 15 16 /** 17 * Test supported @nooverride tag on static methods 18 */ 19 public class test13 { 20 21 /** 22 * @nooverride This method is not intended to be re-implemented or extended by clients. 23 */ m1()24 public static void m1() { 25 26 } 27 28 static class inner { 29 /** 30 * @nooverride This method is not intended to be re-implemented or extended by clients. 31 */ m1()32 public static final void m1() { 33 34 } 35 } 36 } 37 38 class outer { 39 /** 40 * @nooverride This method is not intended to be re-implemented or extended by clients. 41 */ m3()42 static void m3() { 43 44 } 45 } 46