public class Violation extends Object
It consists of a Type which depends on one or more InternalTypes.
| Modifier and Type | Class and Description |
|---|---|
static class |
Violation.ViolationBuilder
Allows to build a
Violation (which is immutable) by successively adding dependecies. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Violation.ViolationBuilder |
forType(Type type)
Starts building a new violation.
|
com.google.common.collect.ImmutableList<InternalType> |
getInternalDependencies() |
Type |
getType() |
int |
hashCode() |
String |
toMultiLineString() |
String |
toString() |
public static Violation.ViolationBuilder forType(Type type)
type - the type which contains the violating dependencyViolation.ViolationBuilderpublic Type getType()
public com.google.common.collect.ImmutableList<InternalType> getInternalDependencies()
getType() dependspublic String toMultiLineString()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.