Search in sources :

Example 1 with MbuiView

use of org.jboss.hal.spi.MbuiView in project console by hal.

the class MbuiViewProcessor method onProcess.

@Override
protected boolean onProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
    for (Element e : roundEnv.getElementsAnnotatedWith(MbuiView.class)) {
        TypeElement type = (TypeElement) e;
        MbuiView mbuiView = type.getAnnotation(MbuiView.class);
        validateType(type, mbuiView);
        processType(type, mbuiView);
    }
    return false;
}
Also used : TypeElement(javax.lang.model.element.TypeElement) TypeElement(javax.lang.model.element.TypeElement) MbuiElement(org.jboss.hal.spi.MbuiElement) ExecutableElement(javax.lang.model.element.ExecutableElement) Element(javax.lang.model.element.Element) MbuiView(org.jboss.hal.spi.MbuiView)

Aggregations

Element (javax.lang.model.element.Element)1 ExecutableElement (javax.lang.model.element.ExecutableElement)1 TypeElement (javax.lang.model.element.TypeElement)1 MbuiElement (org.jboss.hal.spi.MbuiElement)1 MbuiView (org.jboss.hal.spi.MbuiView)1