Rectangle () { ComponentTree component = (ComponentTree)myComponent; Rectangle bounds = component.getPathBounds(component.getSelectionPath()); if (bounds != null) { bounds.x += AllIcons.Actions.IntentionBulb.getIconWidth(); } return bounds; }