resolving properties and methods on Vector

This commit is contained in:
Jindra Petřík
2022-11-30 22:58:35 +01:00
parent 8f3154cc3d
commit e415945490
11 changed files with 100 additions and 12 deletions
@@ -50,6 +50,8 @@ public class HighlightData implements Cloneable, Serializable {
public boolean isStatic = false;
public String propertyType;
public String propertySubType;
public boolean isEmpty() {
return !declaration && declaredType == null && localName == null
@@ -57,7 +59,8 @@ public class HighlightData implements Cloneable, Serializable {
&& index == 0 && offset == 0 && regIndex == -1 && firstLineOffset == -1
&& fileOffset == -1
&& namespaceIndex == -1
&& propertyType == null;
&& propertyType == null
&& propertySubType == null;
}
public void merge(HighlightData data) {
@@ -103,6 +106,9 @@ public class HighlightData implements Cloneable, Serializable {
if (data.propertyType != null) {
propertyType = data.propertyType;
}
if (data.propertySubType != null) {
propertySubType = data.propertySubType;
}
}
@Override