Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 92aa35091934d9e435360ef8a4b1e15dc936d9ee (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
/*******************************************************************************
 * Copyright (c) 2006, 2007 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:
 *    wharley@bea.com - initial API and implementation
 *******************************************************************************/
/*
 * Target for annotation processing test.  Processing this
 * should result in generation of a class gen.HgcGen with
 * method public String foo().
 * @see org.eclipse.jdt.compiler.apt.tests.processors.genclass.GenClassProc.
 */
package targets.filer;

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

public class FilerTarget1 {
	@GenResource(pkg="resources", relativeName="txt/text.txt", stringContent="A generated string")
	interface A {}

	@GenResource(pkg="resources", relativeName="dat/binary.dat", binaryContent={102, 110, 111, 114, 100})
	interface B {}
}

Back to the top