use of org.develnext.jphp.swing.loader.support.Tag in project jphp by jphp-compiler.
the class SwingExtension method registerReaderTag.
public void registerReaderTag(BaseTag tag) {
Tag name = tag.getClass().getAnnotation(Tag.class);
if (name == null)
throw new IllegalArgumentException("Invalid tag object without @Tag annotation");
readerTags.put(name.value(), tag);
}