public JpaStructureNode getStructureNode(int textOffset) { for (JpaStructureNode child : this.getChildren()) { if (child.containsOffset(textOffset)) { return child; } } return this; }
public JpaStructureNode getStructureNode(int textOffset) { for (JpaStructureNode child : this.getChildren()) { if (child.containsOffset(textOffset)) { return child; } } return this; }