code: public static Method findAndCheckAnyMethodByAnnotation(
  			final Class<?> clazz, final Class<? extends Annotation> anno)
  			throws PerfidixMethodCheckException {
  		// needed variables, one for check for duplicates
  		Method anyMethod = null;
  
  		// Scanning all methods
  		final Method[] possAnnoMethods = clazz.getDeclaredMethods();
  		for (final Method meth : possAnnoMethods) {
  			if (meth.getAnnotation(anno) != null) {
  				// Check if there are multiple annotated methods, throwing
  				// IllegalAccessException otherwise.
  				if (anyMethod == null) {
  					// Check if method is valid (no param, no returnval,
  					// etc.), throwing IllegalAccessException otherwise.
  					if (isReflectedExecutable(meth, anno)) {
  						anyMethod = meth;
  					} else {
  						throw new PerfidixMethodCheckException(
  								new IllegalAccessException(anno.toString()
  										+ "-annotated method " + meth
  										+ " is not executable."), meth, anno);
  					}
  				} else {
  					throw new PerfidixMethodCheckException(
  							new IllegalAccessException("Please use only one "
  									+ anno.toString()
  									+ "-annotation in one class."), meth, anno);
  				}
  			}
  		}
  
  		return anyMethod;
  	}
docs: This class finds any method with a given annotation. The method is
  allowed to occur only once in the class and should match the requirements
  for Perfidix for an execution by reflection.
  
  @param anno
  of the method to be found
  @param clazz
  class to be searched
  @return a method annotated by the annotation given. The method occurs
  only once in the class and matched the requirements of
  perfidix-reflective-invocation.
  @throws PerfidixMethodCheckException
  if these integrity checks fail