We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e72e1b4 + c085c32 commit 7201d01Copy full SHA for 7201d01
src/PSSInst.java
@@ -171,7 +171,12 @@ public PSSInst findInstanceUnder(String hierarchy_id) {
171
public PSSInst findStaticInst(String hierarchiy_id) {
172
// Currently, find enum items only.
173
PSSInst res = null;
174
- PSSModel m = getTypeModel();
+ PSSModel m = null;
175
+ PSSInst base = this;
176
+ while (m == null && base != null) {
177
+ m = base.getTypeModel();
178
+ base = base.m_parent;
179
+ }
180
while (m != null) {
181
res = m.findStaticInst(hierarchiy_id);
182
if (res != null)
0 commit comments