/** Whether the component is shared */ @Override public boolean isShared() { if (declaration.isDefinedShared() || getGroup() == null) { return declaration.isShared(); } return getGroup().isShared(); }