1 /******************************************************************************* 2 * Copyright (c) 2008 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 15 /** 16 * Tests the valid use of field tags on an enum in the default package 17 * 18 * @since 3.4 19 */ 20 public enum test3 { 21 A, 22 B; 23 24 /** 25 * @noreference This enum field is not intended to be referenced by clients. 26 */ 27 public Object f1 = null; 28 /** 29 * @noreference This enum field is not intended to be referenced by clients. 30 */ 31 protected int f2 = 0; 32 /** 33 * @noreference This enum field is not intended to be referenced by clients. 34 */ 35 protected static char g = 'd'; 36 } 37