@Override public ElementLocator createLocator(Field field){
  return field.isAnnotationPresent(Global.class) ? new DefaultElementLocator(searchContext,field) : new SelectorScopedElementLocator(searchContext,selector,field);
}

@ Override public ElementLocator createLocator ( Field field ) { return field . isAnnotationPresent ( Global . class ) ? new DefaultElementLocator ( searchContext , field ) : new SelectorScopedElementLocator ( searchContext , selector , field ) ; }
creates a locator for the given field .
