@Retention(value=RUNTIME) @Target(value=METHOD) public @interface JSMethod
Marks abstract member method as a JavaScript method. This is equivalent to the following:
@JSBody(params = ..., script = "return new this.methodName(...);")
where methodName is method's name by default or a name, directly specified by
this annotation.
JSMethod can be avoided. This means that if you define abstract method on overlay class or interface, and don't specify any annotations, this method is treated as marked by JSMethod.
public abstract String value
Copyright © 2017. All rights reserved.