org.kite9.diagram.builders
Class AnnotatedElementBuilder<X extends AnnotatedElement>

java.lang.Object
  extended by org.kite9.diagram.builders.AbstractBuilder
      extended by org.kite9.diagram.builders.AbstractElementBuilder<X>
          extended by org.kite9.diagram.builders.AnnotatedElementBuilder<X>
Direct Known Subclasses:
ClassBuilder, FieldBuilder, MethodBuilder, PackageBuilder

public class AnnotatedElementBuilder<X extends AnnotatedElement>
extends AbstractElementBuilder<X>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kite9.diagram.builders.AbstractElementBuilder
AbstractElementBuilder.ContentSelector<T,S>
 
Field Summary
 
Fields inherited from class org.kite9.diagram.builders.AbstractElementBuilder
ties
 
Fields inherited from class org.kite9.diagram.builders.AbstractBuilder
a, model, nf
 
Constructor Summary
AnnotatedElementBuilder(List<Tie> ties, ProjectModel model, Aliaser a)
           
 
Method Summary
 AnnotatedElementBuilder<X> reduce(Filter<? super X> f)
          Creates a new element builder of the same type as the original, which only has ties matching the filter.
 AnnotationBuilder withAnnotations(Filter<? super Annotation> f)
           
 
Methods inherited from class org.kite9.diagram.builders.AbstractElementBuilder
getRepresented, getTieForRepresentation, reduceInner, show, withClasses, withPackages, withPackages, withStrings
 
Methods inherited from class org.kite9.diagram.builders.AbstractBuilder
createNewSubjectNounPart, createNoun, createTies, getCurrentClassLoader, getNounFactory, getUnderlyingSimpleNoun, packagesOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedElementBuilder

public AnnotatedElementBuilder(List<Tie> ties,
                               ProjectModel model,
                               Aliaser a)
Method Detail

withAnnotations

public AnnotationBuilder withAnnotations(Filter<? super Annotation> f)

reduce

public AnnotatedElementBuilder<X> reduce(Filter<? super X> f)
Description copied from class: AbstractElementBuilder
Creates a new element builder of the same type as the original, which only has ties matching the filter.

Specified by:
reduce in class AbstractElementBuilder<X extends AnnotatedElement>


Copyright © 2011. All Rights Reserved.