org.appcelerator.kroll.annotations
Annotation Type Kroll.constant


@Documented
@Retention
@Target
public static @interface Kroll.constant

Marks a static final field as a constant for this Kroll.module or Kroll.proxy. Note: This only works on static final fields (the value is pulled directly when generating source) Example:

@Kroll.constant public static final int ID = 100;

See Also:
name()

Optional Element Summary
 String name
          The name that this constant is bound to.
 

name

public abstract String name
The name that this constant is bound to.

Default Value:
The name in Java source.
Default:
"__default_name__"


Copyright © 2010-2012 Appcelerator, Inc. Licensed under the Apache License 2.0