979899100101102103104
/* * Do we have a static text label? */ String text = c.get(TEXT, null, String.class, true); if (text != null) return new StaticLabelCompositionStrategy(text); return defaultAnnotate ? AUTO_LABEL_COMPOSITION_STRATEGY : null; }