com.atlassian.clover.api.registry
Interface ModifiersInfo


public interface ModifiersInfo


Method Summary
 java.util.Collection<Annotation> getAnnotation(java.lang.String name)
          Returns one (or more - introduced in Java 8) annotations with a given name.
 java.util.Map<java.lang.String,java.util.Collection<Annotation>> getAnnotations()
          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)
 int getMask()
           
 

Method Detail

getMask

int getMask()

getAnnotation

@NotNull
java.util.Collection<Annotation> getAnnotation(@NotNull
                                                       java.lang.String name)
Returns one (or more - introduced in Java 8) annotations with a given name.

Parameters:
name - name of the annotation to search
Returns:
Collection<Annotation> list of annotations with that name or empty list if not found

getAnnotations

@NotNull
java.util.Map<java.lang.String,java.util.Collection<Annotation>> getAnnotations()
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)

Returns:
Map<String, Collection<Annotation>> - map(name, annotations)