private String detailBase(final Method method){
  final Class<?> clazz=method.getDeclaringClass();
  final String detailBase=MessageUtils.bundleNameForClass(clazz);
  if (isBlank(detailBase)) {
    throw new IllegalStateException("no bundle name defined for " + clazz);
  }
  return detailBase;
}

private String detailBase ( final Method method ) { final Class < ? > clazz = method . getDeclaringClass ( ) ; final String detailBase = MessageUtils . bundleNameForClass ( clazz ) ; if ( isBlank ( detailBase ) ) { throw new IllegalStateException ( "no bundle name defined for " + clazz ) ; } return detailBase ; }
get the name of the message bundle to use when getting the message for the specified method
