Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d432c24a665db2acb9ea93bfe5e06ec89e9ebb10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2007 BEA Systems, Inc.
 * 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
 *******************************************************************************/
package targets.model.pc;

import org.eclipse.jdt.compiler.apt.tests.annotations.*;

/**
 * Annotated with variously typed values.
 */
public class AnnotatedWithManyTypes {
	// Do not change this code without also changing VisitorProc and ElementProc
	@TypedAnnos.AnnoByte(3)
	@TypedAnnos.AnnoBoolean(true)
	@TypedAnnos.AnnoChar('c')
	@TypedAnnos.AnnoDouble(6.3)
	@TypedAnnos.AnnoFloat(26.7F)
	@TypedAnnos.AnnoInt(19)
	@TypedAnnos.AnnoLong(300L)
	@TypedAnnos.AnnoShort(289)
	@TypedAnnos.AnnoString("foo")
	@TypedAnnos.AnnoEnumConst(TypedAnnos.Enum.A)
	@TypedAnnos.AnnoType(Exception.class)
	@TypedAnnos.AnnoAnnoChar(@TypedAnnos.AnnoChar('x'))
	@TypedAnnos.AnnoArrayInt({5, 8, 11})
	@TypedAnnos.AnnoArrayString({"bar", "quux"})
	@TypedAnnos.AnnoArrayEnumConst({TypedAnnos.Enum.B, TypedAnnos.Enum.C})
	@TypedAnnos.AnnoArrayType({ String.class, Annotated.class })
	@TypedAnnos.AnnoArrayAnnoChar({@TypedAnnos.AnnoChar('y'), @TypedAnnos.AnnoChar('z')})
	public class Annotated {}
}

Back to the top