All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.tinyexpression.InvokableResolver Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.unlaxer.tinyexpression;

import org.unlaxer.tinyexpression.parser.SideEffectExpressionParser.MethodAndParameters;

public interface InvokableResolver{
	
	 Invokable resolve(MethodAndParameters methodAndParameters);
//			 
//			SideEffectExpressionParameterParser paramter , 
//			Class instanceClass , 
//			Class returningClass);
	
	Class instanceClass();
	Class 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 instanceClass() {
//			return (Class) instance.getClass();
//		}
//
//		@Override
//		public Class returningClass() {
//			return Void.class;
//		}
//		
//	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy