Added support for switching Java fields to a different type in their

ActionScript counterparts.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4801 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-08-01 17:40:35 +00:00
parent cd599586be
commit 5a490043c4
3 changed files with 49 additions and 33 deletions
+10 -4
View File
@@ -35,14 +35,20 @@ import java.lang.annotation.ElementType;
public @interface ActionScript
{
/**
* Indicates whether this field, method or class should be omitted from the
* ActionScript translation.
* Indicates whether this field, method or class should be omitted from the ActionScript
* translation.
*/
boolean omit () default false;
/**
* Indicates a custom name to be used for the ActionScript version of this
* field, method or class.
* Indicates a custom name to be used for the ActionScript version of this field, method or
* class.
*/
String name () default "";
/**
* Indicates a custom type to be used for the ActionScript version of this field. Ignored if
* used on a method or class.
*/
String type () default "";
}