package nl.tudelft.simulation.dsol.interpreter.process; import java.lang.reflect.Method; import nl.tudelft.simulation.dsol.interpreter.operations.custom.InterpreterOracleInterface; /** *
* (c) copyright 2002-2014 Delft University of Technology.
* BSD-style license. See DSOL License.
* @author Peter Jacobs
* @author Alexander Verbraeck
*/
public class ProcessInterpreterOracle implements InterpreterOracleInterface
{
/**
* constructs a new ProcessInterpreterOracle.
*/
public ProcessInterpreterOracle()
{
super();
}
/** {@inheritDoc} */
@Override
public final boolean shouldBeInterpreted(final Method method)
{
if (InterpretableProcess.class.isAssignableFrom(method.getDeclaringClass()))
{
return true;
}
return false;
}
}