| /******************************************************************************* |
| * Copyright (c) 2008 IBM Corporation and others. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package a.b.c; |
| |
| /** |
| * Tests valid enum field tag use |
| * |
| * @since 3.4 |
| */ |
| public enum test1 { |
| |
| A, |
| B; |
| |
| /** |
| * @noreference This enum field is not intended to be referenced by clients. |
| */ |
| public Object f1 = null; |
| /** |
| * @noreference This enum field is not intended to be referenced by clients. |
| */ |
| protected int f2 = 0; |
| /** |
| * @noreference This enum field is not intended to be referenced by clients. |
| */ |
| protected static char g = 'd'; |
| } |