blob: f335f340bf88779cb4992ceed504cea95f60fe24 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package a.b.c;
/**
* Test unsupported @noextend tag on fields in inner / outer enums
*/
public enum test5 {
A;
/**
* @noextend
*/
public Object f1 = null;
/**
* @noextend
*/
protected int f2 = 0;
/**
* @noextend
*/
private char[] f3 = {};
static enum inner {
A;
/**
* @noextend
*/
public static Object f1 = null;
/**
* @noextend
*/
protected int f2 = 0;
/**
* @noextend
*/
private static char[] f3 = {};
enum inner2 {
A;
/**
* @noextend
*/
public Object f1 = null;
/**
* @noextend
*/
protected int f2 = 0;
/**
* @noextend
*/
private char[] f3 = {};
}
}
}
enum outer {
A;
/**
* @noextend
*/
public Object f1 = null;
/**
* @noextend
*/
protected int f2 = 0;
/**
* @noextend
*/
private static char[] f3 = {};
}