blob: 376bdf9e1876cd5968814a8eb693feef56949202 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 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;
import org.eclipse.pde.api.tools.annotations.NoExtend;
/**
* Test unsupported @NoExtend annotation on fields in inner / outer classes
*/
public class test5 {
@NoExtend
public Object f1 = null;
@NoExtend
protected int f2 = 0;
@NoExtend
private char[] f3 = {};
@NoExtend
long f4 = 0L;
static class inner {
@NoExtend
public static Object f1 = null;
@NoExtend
protected int f2 = 0;
@NoExtend
private static char[] f3 = {};
@NoExtend
long f4 = 0L;
class inner2 {
@NoExtend
public Object f1 = null;
@NoExtend
protected int f2 = 0;
@NoExtend
private char[] f3 = {};
@NoExtend
long f4 = 0L;
}
}
}
class outer {
@NoExtend
public Object f1 = null;
@NoExtend
protected int f2 = 0;
@NoExtend
private static char[] f3 = {};
@NoExtend
long f4 = 0L;
}