public class DependencyComponent extends ClassComponent
| Constructor and Description |
|---|
DependencyComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(PersistentDependency depend)
Adds a dependency.
|
void |
addDependencyList(java.util.ArrayList<PersistentDependency> dependList)
Adds a dependency list.
|
void |
generate(JavaWriter out)
Generates the code for the dependencies.
|
protected void |
printVersionChange(JavaWriter out)
Prints code to detect a version change.
|
void |
setSearchPath(Path searchPath)
Sets the search path.
|
public void setSearchPath(Path searchPath)
public void addDependencyList(java.util.ArrayList<PersistentDependency> dependList)
public void addDependency(PersistentDependency depend)
public void generate(JavaWriter out) throws java.io.IOException
generate in class ClassComponentout - the writer to the output stream.java.io.IOExceptionprotected void printVersionChange(JavaWriter out) throws java.io.IOException
java.io.IOException