code: public static String getEntryPointDecoratedName(Method method, boolean scanEntryPointAnnotation) {
  		String decoratedName = method.getName();
  
  		if (scanEntryPointAnnotation) {
  			// we look at the method level
  			if (method.isAnnotationPresent(ExternalEntryPoint.class)) {
  				final ExternalEntryPoint externalEntryPoint = method.getAnnotation(ExternalEntryPoint.class);
  	
  				if (StringUtils.isNotBlank(externalEntryPoint.name())) {
  					decoratedName = externalEntryPoint.name();
  				}
  			}
  		}
  
  		return decoratedName;
  	}
docs: Based on the input for scanning annotations, look for @ExternalEntryPoint and get the decorated name from it, if any.
  
  @param method method to check
  @param scanEntryPointAnnotation annotation
  @return String