hudson.plugins.checkstyle.util.model
Class DefaultAnnotationContainer

java.lang.Object
  extended by hudson.plugins.checkstyle.util.model.AnnotationContainer
      extended by hudson.plugins.checkstyle.util.model.DefaultAnnotationContainer
All Implemented Interfaces:
AnnotationProvider, java.io.Serializable, java.lang.Comparable<AnnotationContainer>

public class DefaultAnnotationContainer
extends AnnotationContainer

A simple annotation container that stores a set of annotations.

Author:
Ulli Hafner
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.checkstyle.util.model.AnnotationContainer
AnnotationContainer.Hierarchy
 
Constructor Summary
DefaultAnnotationContainer(java.util.Collection<FileAnnotation> annotations)
          Creates a new instance of DefaultAnnotationContainer.
DefaultAnnotationContainer(java.lang.String name)
          Creates a new instance of DefaultAnnotationContainer.
DefaultAnnotationContainer(java.lang.String name, java.util.Collection<FileAnnotation> annotations)
          Creates a new instance of DefaultAnnotationContainer.
 
Method Summary
 
Methods inherited from class hudson.plugins.checkstyle.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, compareTo, containsCategory, containsFile, containsModule, containsPackage, containsType, equals, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getContainer, getFile, getFile, getFiles, getHighAnnotations, getHighPriority, getLowAnnotations, getLowPriority, getModule, getModule, getModules, getName, getNormalAnnotations, getNormalPriority, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfHighAnnotations, getNumberOfLowAnnotations, getNumberOfNormalAnnotations, getPackage, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, getUpperBound, hasAnnotations, hasAnnotations, hasAnnotations, hashCode, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, rebuildMappings, setHierarchy, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnnotationContainer

public DefaultAnnotationContainer(java.lang.String name)
Creates a new instance of DefaultAnnotationContainer.

Parameters:
name - the name of this container

DefaultAnnotationContainer

public DefaultAnnotationContainer(java.lang.String name,
                                  java.util.Collection<FileAnnotation> annotations)
Creates a new instance of DefaultAnnotationContainer.

Parameters:
name - the name of this container
annotations - the annotations to be stored

DefaultAnnotationContainer

public DefaultAnnotationContainer(java.util.Collection<FileAnnotation> annotations)
Creates a new instance of DefaultAnnotationContainer.

Parameters:
annotations - the annotations to be stored


Copyright © 2008. All Rights Reserved.