Color (Crumb crumb) { TextAttributes attributes = getAttributes(crumb); Color foreground = attributes == null ? null : attributes.getForegroundColor(); return foreground != null ? foreground : getForeground(); }