// Construct the method.
Callable callable = new IntrinsicCallable(pattern, doc, new MethodWrapper(method), scope);
// Register it.
scope.define(name, callable);
}
@SuppressWarnings("rawtypes")
public void defineMethods(Class javaClass) {
IntrinsicLoader.register(javaClass,