code: public static Annotation[] jlClassGetDeclaredAnnotations(Class<?> clazz) {
  		if (TypeRegistry.nothingReloaded) {
  			return clazz.getDeclaredAnnotations();
  		}
  		ReloadableType rtype = getReloadableTypeIfHasBeenReloaded(clazz);
  		if (rtype == null) {
  			return clazz.getDeclaredAnnotations();
  		}
  		CurrentLiveVersion clv = rtype.getLiveVersion();
  		return clv.getExecutorClass().getDeclaredAnnotations();
  	}
docs: Called to satisfy an invocation of java.lang.Class.getDeclaredAnnotations().
  
  @param clazz the class upon which the original call was being invoked
  @return array of annotations on the class