code: public static boolean isReflectedExecutable(final Method meth,
  			final Class<? extends Annotation> anno) {
  		boolean returnVal = true;
  		// Check if DataProvider is valid if set.
  		if (anno.equals(DataProvider.class)
  				&& !meth.getReturnType().isAssignableFrom(Object[][].class)) {
  			returnVal = false;
  		}
  		// for all other methods, the return type must be void
  		if (!anno.equals(DataProvider.class)
  				&& !meth.getGenericReturnType().equals(Void.TYPE)) {
  			returnVal = false;
  		}
  
  		// if method is static, the method is not benchmarkable
  		if (!(anno.equals(BeforeBenchClass.class))
  				&& Modifier.isStatic(meth.getModifiers())) {
  			returnVal = false;
  		}
  		// if method is not public, the method is not benchmarkable
  		if (!Modifier.isPublic(meth.getModifiers())) {
  			returnVal = false;
  		}
  
  		return returnVal;
  	}
docs: Checks if this method is executable via reflection for perfidix purposes.
  That means that the method has no parameters (except for , no
  return-value, is non-static, is public and throws no exceptions.
  
  @param meth
  method to be checked
  @param anno
  anno for method to be check, necessary since different
  attributes are possible depending on the anno
  @return true if method matches requirements.