Annotation Type Kroll.constant

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:

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


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

Default Value:
The name in Java source.

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