equal
deleted
inserted
replaced
165 } |
165 } |
166 |
166 |
167 List<JsVariableImpl> getPropertiesLazily() throws MethodIsBlockingException { |
167 List<JsVariableImpl> getPropertiesLazily() throws MethodIsBlockingException { |
168 synchronized (this) { |
168 synchronized (this) { |
169 if (properties == null) { |
169 if (properties == null) { |
170 |
170 List<? extends PropertyReference> propertyRefs = |
171 List<? extends PropertyReference> propertyRefs = getPropertyRefs(getSubpropertiesMirror()); |
171 getPropertyRefs(getSubpropertiesMirror()); |
172 ValueLoader valueLoader = context.getValueLoader(); |
172 ValueLoader valueLoader = context.getValueLoader(); |
173 List<ValueMirror> subMirrors = valueLoader.getOrLoadValueFromRefs(propertyRefs); |
173 List<ValueMirror> subMirrors = valueLoader.getOrLoadValueFromRefs(propertyRefs); |
174 |
174 |
175 List<JsVariableImpl> wrappedProperties = createPropertiesFromMirror(subMirrors, |
175 List<JsVariableImpl> wrappedProperties = createPropertiesFromMirror(subMirrors, |
176 propertyRefs); |
176 propertyRefs); |
177 properties = Collections.unmodifiableList(wrappedProperties); |
177 properties = Collections.unmodifiableList(wrappedProperties); |
178 } |
178 } |