blob: 98bf40ed926f220124aaf514dfcaaa133cd22328 [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 @noreference tag on final fields in inner / outer classes
*/
public class test1 {
/**
* @noreference
*/
public final Object f1 = null;
/**
* @noreference
*/
protected final int f2 = 0;
/**
* @noreference
*/
private final char[] f3 = {};
static class inner {
/**
* @noreference
*/
public final Object f1 = null;
/**
* @noreference
*/
protected final int f2 = 0;
/**
* @noreference
*/
private final char[] f3 = {};
class inner2 {
/**
* @noreference
*/
public final Object f1 = null;
/**
* @noreference
*/
protected final int f2 = 0;
/**
* @noreference
*/
private final char[] f3 = {};
}
}
}
class outer {
/**
* @noreference
*/
public final Object f1 = null;
/**
* @noreference
*/
protected final int f2 = 0;
/**
* @noreference
*/
private final char[] f3 = {};
}