@NotNull
  @Override
  public Set<VariableDescriptor> getProperties(@NotNull Name name) {
    checkMayRead();

    Set<VariableDescriptor> properties = Sets.newLinkedHashSet();
    for (JetScope imported : getImports()) {
      properties.addAll(imported.getProperties(name));
    }
    return properties;
  }
예제 #2
0
 @NotNull
 @Override
 public Collection<VariableDescriptor> getProperties(@NotNull Name name) {
   return substitute(workerScope.getProperties(name));
 }