blob: c9b398d92f1dbc02372d2fbf53f2ea94d54258a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 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;
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;
}