core/src/main/java/org/springframework/security/core/parameters/AnnotationParameterNameDiscoverer.java
private String findParameterName(Annotation[] parameterAnnotations) {
		for (Annotation paramAnnotation : parameterAnnotations) {
			if (annotationClassesToUse.contains(paramAnnotation.annotationType()
					.getName())) {
				return (String) AnnotationUtils.getValue(paramAnnotation, "value");
			}
		}
		return null;
	}
private String findParameterName(Annotation[] parameterAnnotations) {
		for (Annotation paramAnnotation : parameterAnnotations) {
			if (annotationClassesToUse.contains(paramAnnotation.annotationType()
					.getName())) {
				return (String) AnnotationUtils.getValue(paramAnnotation, "value");
			}
		}
		return null;
	}
private String findParameterName ( Annotation [ ] parameterAnnotations ) { for ( Annotation paramAnnotation : parameterAnnotations ) { if ( annotationClassesToUse . contains ( paramAnnotation . annotationType ( ) . getName ( ) ) ) { return ( String ) AnnotationUtils . getValue ( paramAnnotation , "value" ) ; } } return null ; }
Finds the parameter name from the provided {@link Annotation}s or null if it could
not find it. The search is done by looking at the value property of the
{@link #annotationClassesToUse}.

@param parameterAnnotations the {@link Annotation}'s to search.
@return
Finds the parameter name from the provided { @link Annotation } s or null if it could not find it . The search is done by looking at the value property of the { @link #annotationClassesToUse } .