List bindingKeys = WodBindingUtils.createMatchingBindingKeys(_javaProject, currentType, myBindingKeyNames[i], true, WodBindingUtils.ACCESSORS_ONLY); if (!bindingKeys.isEmpty()) {  BindingValueKey bindingKey = (BindingValueKey)bindingKeys.get(0); bindingKeysList.add(bindingKey); currentType = bindingKey.getNextType();
if (!myBindingKeyNames[i].startsWith("@")) { List bindingKeys = WodBindingUtils.createMatchingBindingKeys(_javaProject, currentType, myBindingKeyNames[i], true, WodBindingUtils.ACCESSORS_ONLY); if (!bindingKeys.isEmpty()) {  BindingValueKey bindingKey = (BindingValueKey) bindingKeys.get(0); bindingKeysList.add(bindingKey); currentType = bindingKey.getNextType(); } else { myValid = false; }
  public BindingValueKeyPath(String _keyPath, IType _contextType, IJavaProject _javaProject) throws JavaModelException {    String[] bindingKeyNames = _keyPath.split("\\.");    // Split tosses empty tokens, so we check to see if we're on the last "." and fake an empty token in the list    if (_keyPath.length() > 0 && _keyPath.charAt(_keyPath.length() - 1) == '.') {      String[] bindingKeyNamesWithFinalBlank = new String[bindingKeyNames.length + 1];      System.arraycopy(bindingKeyNames, 0, bindingKeyNamesWithFinalBlank, 0, bindingKeyNames.length);      bindingKeyNamesWithFinalBlank[bindingKeyNamesWithFinalBlank.length - 1] = "";      myBindingKeyNames = bindingKeyNamesWithFinalBlank;    }    else {      myBindingKeyNames = bindingKeyNames;    }    myJavaProject = _javaProject;    myContextType = _contextType;    IType currentType = _contextType;    List bindingKeysList = new LinkedList();    for (int i = 0; currentType != null && i < myBindingKeyNames.length; i++) {      List bindingKeys = WodBindingUtils.createMatchingBindingKeys(_javaProject, currentType, myBindingKeyNames[i], true, WodBindingUtils.ACCESSORS_ONLY);      if (!bindingKeys.isEmpty()) {        // NTS: Deal with multiple matches ...        BindingValueKey bindingKey = (BindingValueKey)bindingKeys.get(0);        bindingKeysList.add(bindingKey);        currentType = bindingKey.getNextType();      }    }    myBindingKeys = (BindingValueKey[]) bindingKeysList.toArray(new BindingValueKey[bindingKeysList.size()]);  }