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

com.atlassian.clover.api.registry.ModifiersInfo Maven / Gradle / Ivy

Go to download

OpenClover is an award-winning code coverage and testing tool for Java and Groovy. It integrates easily with Maven, Ant, Grails, Eclipse and IntelliJ IDEA as well as with continuous integration servers such as Bamboo, Jenkins or Hudson.

There is a newer version: 4.5.2
Show newest version
package com.atlassian.clover.api.registry;

import org.jetbrains.annotations.NotNull;

import java.util.Collection;
import java.util.Map;

public interface ModifiersInfo {
    int getMask();

    /**
     * Returns one (or more - introduced in Java 8) annotations with a given name.
     *
     * @param name name of the annotation to search
     * @return Collection<Annotation> list of annotations with that name or empty list if not found
     */
    @NotNull
    public Collection getAnnotation(@NotNull String name);

    /**
     * Returns a multi-map of all annotations - one key (annotation name) may contain mutliple values
     * (i.e. multiple occurrences of the annotation, usually with different attributes)
     *
     * @return  Map<String, Collection<Annotation>> - map(name, annotations)
     */
    @NotNull
    public Map> getAnnotations();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy