code: private void scanInternal(Object o, Class clazz) {
  		for (Method m : clazz.getDeclaredMethods()) {
  			if (Modifier.isPublic(m.getModifiers())) {
  				// public fields have already been processed
  				continue;
  			}
  			
  			// skip methods without annotation
  			if (!m.isAnnotationPresent(EventHandler.class)) {
  				continue;
  			}
  			
  			// set the method accessible and register it
  			EventHandler h = m.getAnnotation(EventHandler.class);
  			int priority = h.priority();
  			boolean vetoable = h.vetoable();
  
  			m.setAccessible(true);
  
  			registerMethod(o, m, priority, vetoable);
  		}
  	}
docs: Scans non-public members of the given object at the level of the given
  class. Due to how {@link Class#getDeclaredMethods()} works, this only
  scans members directly defined in {@code clazz}.
  @param o the object to scan
  @param clazz the specific class to scan