org.python.expose
Annotation Type ExposedMethod
-
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ExposedMethodIndicates a method should be exposed to Python code.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element and Description java.lang.String[]defaultsReturns default arguments.java.lang.StringdocReturns the __doc__ String for this method.java.lang.String[]namesReturns the names to expose this method as.MethodTypetypeReturns how to expose this method.
-
-
-
Element Detail
-
names
public abstract java.lang.String[] names
Returns the names to expose this method as. Defaults to the name of the method.- Default:
- {}
-
-
-
defaults
public abstract java.lang.String[] defaults
Returns default arguments. Starts at the number of arguments - defaults.length.- Default:
- {}
-
-
-
type
public abstract MethodType type
Returns how to expose this method. SeeMethodTypefor the options.- Default:
- org.python.expose.MethodType.DEFAULT
-
-
DMelt 3.0 © DataMelt by jWork.ORG