ModuleExposer
provides access to the attributes of a module
defined in Java (a built-in or extension module). These are primarily
the MethodDef
s derived from annotated methods in the defining
class. It is normally obtained by a call to
Exposer#exposeModule(Class)
.
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
pack-priv ModuleDef. | Returns: method definitionsauthorisation to access methods lookupFrom the methods discovered by introspection of the class, return
an array of |
pack-priv ScopeKind | |
pack-priv void | scanJavaMethods(Class<?>
to introspect for definitions definingClass)Overrides org. specs , the
methods found in the given defining class and annotated for
exposure.
|
ModuleExposer | back to summary |
---|---|
pack-priv ModuleExposer() Construct the |
expose | back to summary |
---|---|
pack-priv void expose(Class<?> definingClass) Build the result from the defining class.
|
getMethodDefs | back to summary |
---|---|
pack-priv ModuleDef. From the methods discovered by introspection of the class, return
an array of
|
kind | back to summary |
---|---|
pack-priv ScopeKind kind() Implements abstract org.
|
scanJavaMethods | back to summary |
---|---|
pack-priv void scanJavaMethods(Class<?> definingClass) throws InterpreterError Overrides org. For a Python module defined in Java, add to
|