blob: 45d10058753dee4e21bfdeac8d3a267c9333f151 [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 @noinstantiate tag on methods in outer / inner enums
*/
public enum test3 {
A;
enum inner {
A;
/**
* @noinstantiate
* @return
*/
public int m1() {
return 0;
}
/**
* @noinstantiate
* @return
*/
public final char m2() {
return 's';
}
enum inner2 {
A;
/**
* @noinstantiate
* @return
*/
public int m1() {
return 0;
}
/**
* @noinstantiate
* @return
*/
public final char m2() {
return 's';
}
}
}
}
enum outer {
A;
/**
* @noinstantiate
* @return
*/
public int m1() {
return 0;
}
/**
* @noinstantiate
* @return
*/
public final char m2() {
return 's';
}
}