author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Mon, 11 Feb 2013 12:46:43 +0100 | |
branch | emul |
changeset 708 | 59d5596a9c6c |
parent 652 | f095ea52f417 |
permissions | -rw-r--r-- |
jaroslav@235 | 1 |
/** |
jaroslav@235 | 2 |
* Back 2 Browser Bytecode Translator |
jaroslav@235 | 3 |
* Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
jaroslav@235 | 4 |
* |
jaroslav@235 | 5 |
* This program is free software: you can redistribute it and/or modify |
jaroslav@235 | 6 |
* it under the terms of the GNU General Public License as published by |
jaroslav@235 | 7 |
* the Free Software Foundation, version 2 of the License. |
jaroslav@235 | 8 |
* |
jaroslav@235 | 9 |
* This program is distributed in the hope that it will be useful, |
jaroslav@235 | 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
jaroslav@235 | 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
jaroslav@235 | 12 |
* GNU General Public License for more details. |
jaroslav@235 | 13 |
* |
jaroslav@235 | 14 |
* You should have received a copy of the GNU General Public License |
jaroslav@235 | 15 |
* along with this program. Look for COPYING file in the top folder. |
jaroslav@235 | 16 |
* If not, see http://opensource.org/licenses/GPL-2.0. |
jaroslav@235 | 17 |
*/ |
jaroslav@235 | 18 |
package org.apidesign.vm4brwsr; |
jaroslav@235 | 19 |
|
jaroslav@235 | 20 |
import java.lang.annotation.Retention; |
jaroslav@235 | 21 |
import java.lang.annotation.RetentionPolicy; |
jaroslav@235 | 22 |
|
jaroslav@235 | 23 |
/** |
jaroslav@235 | 24 |
* |
jaroslav@235 | 25 |
* @author Jaroslav Tulach <jtulach@netbeans.org> |
jaroslav@235 | 26 |
*/ |
jaroslav@235 | 27 |
@Retention(RetentionPolicy.RUNTIME) |
jaroslav@235 | 28 |
public @interface ClassesMarker { |
jaroslav@235 | 29 |
int number(); |
jaroslav@652 | 30 |
String[] nicknames(); |
jaroslav@652 | 31 |
E count() default E.ONE; |
jaroslav@652 | 32 |
|
jaroslav@652 | 33 |
enum E { |
jaroslav@652 | 34 |
ONE, TWO; |
jaroslav@652 | 35 |
} |
jaroslav@659 | 36 |
|
jaroslav@659 | 37 |
Anno[] subs() default {}; |
jaroslav@659 | 38 |
|
jaroslav@659 | 39 |
public @interface Anno { |
jaroslav@659 | 40 |
int value(); |
jaroslav@659 | 41 |
} |
jaroslav@235 | 42 |
} |