* @return field that matches the criteria or null if not found
* @see org.jboss.wsf.common.injection.finders.InjectionFieldFinder
*/
private static Field getField(final InjectionMetaData injectionMD, final Class<?> clazz)
{
final Collection<Field> result = new InjectionFieldFinder(injectionMD).process(clazz);
return result.isEmpty() ? null : result.iterator().next();
}