Package classycle.dependency
Class DependencyResult
- java.lang.Object
-
- classycle.dependency.DependencyResult
-
-
Constructor Summary
Constructors Constructor Description DependencyResult(StringPattern startSet, StringPattern finalSet, java.lang.String statement, AtomicVertex[] paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringPatterngetFinalSet()Returns the pattern describing the final set.AtomicVertex[]getPaths()Returns the vertices of the paths of unwanted dependencies.StringPatterngetStartSet()Returns the pattern describing the start set.java.lang.StringgetStatement()Returns the statement causing this result.booleanisOk()Returnstrueif and only ifgetPaths()is empty.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DependencyResult
public DependencyResult(StringPattern startSet, StringPattern finalSet, java.lang.String statement, AtomicVertex[] paths)
-
-
Method Detail
-
isOk
public boolean isOk()
Returnstrueif and only ifgetPaths()is empty.
-
getStatement
public java.lang.String getStatement()
Returns the statement causing this result.
-
getFinalSet
public StringPattern getFinalSet()
Returns the pattern describing the final set.
-
getPaths
public AtomicVertex[] getPaths()
Returns the vertices of the paths of unwanted dependencies.- Returns:
- an empty array if no unwanted dependencies have been found.
-
getStartSet
public StringPattern getStartSet()
Returns the pattern describing the start set.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-