public class IllegalDependencies extends Object
Constructor and Description |
---|
IllegalDependencies() |
Modifier and Type | Method and Description |
---|---|
void |
add(Clazz clazz,
Clazz illegalDependency)
Add an illegal dependency for a class.
|
void |
add(Clazz clazz,
Set<Clazz> illegalDependencies)
Add a set of illegal dependencies for a class.
|
Map<Clazz,Set<Clazz>> |
getViolations() |
boolean |
isEmpty() |
public void add(Clazz clazz, Clazz illegalDependency)
clazz
- the classillegalDependency
- the illegal dependencypublic void add(Clazz clazz, Set<Clazz> illegalDependencies)
clazz
- the classillegalDependencies
- the illegal dependenciespublic boolean isEmpty()
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.