Add new methods to FunctionInspector
This commit is contained in:
@@ -113,6 +113,31 @@ public class FunctionExtractingFunctionCatalog
|
||||
return (Boolean) inspect(name, "isMessage");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getInputType(Object function) {
|
||||
return (Class<?>) inspect(function, "getInputType");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getOutputType(Object function) {
|
||||
return (Class<?>) inspect(function, "getOutputType");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getInputWrapper(Object function) {
|
||||
return (Class<?>) inspect(function, "getInputWrapper");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getOutputWrapper(Object function) {
|
||||
return (Class<?>) inspect(function, "getOutputWrapper");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object convert(Object function, String value) {
|
||||
return inspect(function, "convert");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getInputType(String name) {
|
||||
return (Class<?>) inspect(name, "getInputType");
|
||||
|
||||
Reference in New Issue
Block a user