org.kite9.diagram.builders
Class MethodBuilder
java.lang.Object
org.kite9.diagram.builders.AbstractBuilder
org.kite9.diagram.builders.AbstractElementBuilder<X>
org.kite9.diagram.builders.AnnotatedElementBuilder<Method>
org.kite9.diagram.builders.MethodBuilder
public class MethodBuilder
- extends AnnotatedElementBuilder<Method>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodBuilder
public MethodBuilder(List<Tie> ties,
ProjectModel model,
Aliaser a)
show
public MethodBuilder show(Format f)
- Overrides:
show in class AbstractElementBuilder<Method>
withReturns
public TypeBuilder withReturns(Filter<? super Method> f)
withParameters
public TypeBuilder withParameters(Filter<? super Type> f)
showVisibility
public MethodBuilder showVisibility(Format f)
withCallingMethods
public MethodBuilder withCallingMethods(Filter<? super Method> f)
- Returns the methods which call this one.
- Parameters:
f -
- Returns:
withCallingClasses
public ClassBuilder withCallingClasses(Filter<? super Class<?>> f)
- Returns classes of methods which call this one
withCalledMethods
public MethodBuilder withCalledMethods(Filter<? super Method> f)
- Returns methods which are called by this one
withCalledClasses
public ClassBuilder withCalledClasses(Filter<? super Class<?>> f)
- Returns classes which are called by this one
withDeclaringClasses
public ClassBuilder withDeclaringClasses(Filter<? super Class<?>> f)
- Returns classes that declare methods
reduce
public MethodBuilder reduce(Filter<? super Method> 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.
- Overrides:
reduce in class AnnotatedElementBuilder<Method>
Copyright © 2011. All Rights Reserved.