Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 package org.mozilla.javascript.annotations;
 
An annotation that marks a Java method as JavaScript setter. This can be used as an alternative to the jsSet_ prefix desribed in org.mozilla.javascript.ScriptableObject.defineClass(org.mozilla.javascript.Scriptable,java.lang.Class).
public @interface JSSetter {
    String value() default "";
New to GrepCode? Check out our FAQ X