private static String getBindingNameFromAnnotation()

in src/main/java/com/microsoft/azure/functions/worker/broker/CoreTypeResolver.java [88:100]


	private static String getBindingNameFromAnnotation(Annotation annotation) {
		for (Method annotationMethod : annotation.getClass().getMethods()) {
			if (annotationMethod.getName().equals("name")) {
				try {
					return (String) annotationMethod.invoke(annotation);
				} catch (Exception ex) {
					// Ignore
					return null;
				}
			}
		}
		return null;
	}