< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Function.java

Print this page




  43     /**
  44      * @return the name of the property. If empty, the name is inferred.
  45      */
  46     public String name() default "";
  47 
  48     /**
  49      * @return the attribute flags for this function.
  50      */
  51     public int attributes() default DEFAULT_ATTRIBUTES;
  52 
  53     /**
  54      * @return the arity of the function. By default computed from the method
  55      *         signature.
  56      */
  57     public int arity() default -2;
  58 
  59     /**
  60      * @return where this function lives.
  61      */
  62     public Where where() default Where.PROTOTYPE;





  63 }


  43     /**
  44      * @return the name of the property. If empty, the name is inferred.
  45      */
  46     public String name() default "";
  47 
  48     /**
  49      * @return the attribute flags for this function.
  50      */
  51     public int attributes() default DEFAULT_ATTRIBUTES;
  52 
  53     /**
  54      * @return the arity of the function. By default computed from the method
  55      *         signature.
  56      */
  57     public int arity() default -2;
  58 
  59     /**
  60      * @return where this function lives.
  61      */
  62     public Where where() default Where.PROTOTYPE;
  63 
  64     /**
  65      * @return return the documentation string for this function.
  66      */
  67     public String documentation() default "";
  68 }
< prev index next >