All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vocalabs.egtest.processor.data.IgnoredReader Maven / Gradle / Ivy

package com.vocalabs.egtest.processor.data;


import com.vocalabs.egtest.processor.MessageHandler;
import com.vocalabs.egtest.processor.selftest.EgSelfTest;

import javax.lang.model.element.Element;
import javax.lang.model.util.Types;
import java.lang.annotation.Annotation;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/** Annotations for internal use. */
public class IgnoredReader implements AnnotationReader> {

    public static final IgnoredReader INSTANCE = new IgnoredReader();

    @Override
    public Set> supportedAnnotationClasses() {
        return Stream.of(EgSelfTest.class).collect(Collectors.toSet());
    }

    @Override
    public List> examples(Annotation annotation, Element element, MessageHandler messageHandler) {
        return Collections.emptyList();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy