@Override public void onComponentTag(Component component, ComponentTag tag) { super.onComponentTag(component, tag); Components.assertTag(component, tag, "span"); }
public static void assertTag( final Component component, final ComponentTag tag, final String... tagNames) { assertTag(component, tag, Sets.newHashSet(tagNames)); }