org.unlaxer.tinyexpression.InvokableResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyExpression Show documentation
Show all versions of tinyExpression Show documentation
TinyExpression implemented with Unlaxer
package org.unlaxer.tinyexpression;
import org.unlaxer.tinyexpression.parser.SideEffectExpressionParser.MethodAndParameters;
public interface InvokableResolver{
Invokable resolve(MethodAndParameters methodAndParameters);
//
// SideEffectExpressionParameterParser paramter ,
// Class extends INSTANCE> instanceClass ,
// Class extends RETURNING> returningClass);
Class extends INSTANCE> instanceClass();
Class extends RETURNING> returningClass();
// public static class VoidInvokableResolver implements InvokableResolver{
//
// final T instance;
//
//
// public VoidInvokableResolver(T instance) {
// super();
// this.instance = instance;
// }
//
// @Override
// public Invokable resolve(MethodAndParameters methodAndParameters){
//
// }
//
// @SuppressWarnings("unchecked")
// @Override
// public Class extends T> instanceClass() {
// return (Class) instance.getClass();
// }
//
// @Override
// public Class extends Void> returningClass() {
// return Void.class;
// }
//
// }
}