A B C D E F G H I J L M N O P R S T U V W X

A

add(PackageNode) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
Adds the given package node as child.
add(ClassNode) - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
add(PackageNode) - Method in interface net.sf.jlayercheck.util.modeltree.ModuleNode
Adds the given packageNode as child.
add(ClassNode) - Method in interface net.sf.jlayercheck.util.modeltree.PackageNode
Adds the given ClassNode as child.
addClassDependency(ClassDependency) - Method in interface net.sf.jlayercheck.util.modeltree.ClassNode
Adds a dependency to another class.
addClassDependency(ClassDependency) - Method in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
addClassNodeToDependentModelTree(DependentModelTree, ClassDependency, ClassNode) - Method in class net.sf.jlayercheck.util.modeltree.DependenciesTreeModel
Adds the given ClassNode to the given DependentModelTree.
addClassSource(ClassSource) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Adds a new ClassSource.
addClassToPackage(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addClassToPackage(String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addConstuctorCall(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
Called when a "new" command is found.
addDependencyToModule(String, String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
 
addDesc(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addEntryClass(String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Adds a new entry class.
addLineNumber(int) - Method in class net.sf.jlayercheck.util.model.ClassDependency
 
addMethodDesc(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addModuleDependency(String, TreeSet<String>) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Adds dependencies from a module to other modules.
addName(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addNames(String[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addPackageToExcludeList(String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
 
addPackageToModule(String, String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
 
addSignature(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addToContext(Map<String, Object>) - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
Add all entries to the VelocityGenerator.context.
addType(Type) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
addTypeSignature(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 

B

basedir - Variable in class net.sf.jlayercheck.util.model.FilesystemClassSource
Directory where the other pathes are relative to
basedir - Variable in class net.sf.jlayercheck.util.XMLConfigurationParser
 
bin - Variable in class net.sf.jlayercheck.util.model.FilesystemClassSource
Path to the .class files
BUFFER_SIZE - Static variable in class net.sf.jlayercheck.util.io.IOHelper
Buffer size for IO.

C

call(ClassVisitor) - Method in interface net.sf.jlayercheck.util.model.ClassSource
Runs the given DependencyVisitor on the classes of this source.
call(ClassVisitor) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
callForFilesystem(String[], DependencyVisitor) - Static method in class net.sf.jlayercheck.util.DependencyParser
 
callForZipFile(String, DependencyVisitor) - Static method in class net.sf.jlayercheck.util.DependencyParser
 
cells - Variable in class net.sf.jlayercheck.util.graph.GraphModuleDependencies
 
checkDirectory(DependencyVisitor, File) - Static method in class net.sf.jlayercheck.util.DependencyParser
 
checkDirectory(ClassVisitor, File) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
classDependencies - Variable in class net.sf.jlayercheck.util.DependencyVisitor
 
classDependencies - Variable in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
ClassDependency - Class in net.sf.jlayercheck.util.model
Represents the dependency to a specified class.
ClassDependency(String) - Constructor for class net.sf.jlayercheck.util.model.ClassDependency
 
classDependency - Variable in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
classIcon - Variable in class net.sf.jlayercheck.gui.DependenciesTreeCellRenderer
 
className - Variable in class net.sf.jlayercheck.util.MethodCall
 
classname - Variable in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
ClassNode - Interface in net.sf.jlayercheck.util.modeltree
Describes a single class file in the model tree.
ClassSource - Interface in net.sf.jlayercheck.util.model
 
classSources - Variable in class net.sf.jlayercheck.util.XMLConfiguration
Contains the sources defined in the configuration file.
close(OutputStream) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Close stream, catching all exceptions.
close(InputStream) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Close stream, catching all exceptions.
close(Reader) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Close reader, catching all exceptions.
close(Writer) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Close writer, catching all exceptions.
compareTo(ModuleNode) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
CONFIG - Static variable in class net.sf.jlayercheck.ant.JLCTask
Default name for JLayerCheck configuration file
config - Variable in class net.sf.jlayercheck.ant.JLCTask
The configuration file
ConfigurationException - Exception in net.sf.jlayercheck.util.exceptions
Thrown if configuration contains errors.
ConfigurationException() - Constructor for exception net.sf.jlayercheck.util.exceptions.ConfigurationException
 
ConfigurationException(String) - Constructor for exception net.sf.jlayercheck.util.exceptions.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception net.sf.jlayercheck.util.exceptions.ConfigurationException
 
constructorCalls - Variable in class net.sf.jlayercheck.util.DependencyVisitor
 
context - Variable in class net.sf.jlayercheck.out.html.VelocityGenerator
The VelocityContext for the template.
convert2HTML(URL) - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Use java2html to parse the source.
convertToRegularExpression(String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Used internally to convert a string from the wildcard format used in the configuration file into a regular expression.
copy(InputStream, OutputStream) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Copy content from in to out.
copy(Reader, Writer) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Copy content from in to out.
copy(File, File) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Copy file to another file
copy(URL, File) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Copy content from URL to a file
copyImage(String, String, String) - Method in class net.sf.jlayercheck.util.HTMLOutput
Copies the names resource to the given destination directory.
copyResource(String) - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Copy resource to SourceCodeDecorator.outputDir.
createIncomingModel(ClassNode, ModelTree, DependenciesTreeModel) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Creates a dependency tree model for the given node of the given ModelTree.
createModel(ClassNode, ModelTree, DependenciesTreeModel) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Creates a dependency tree model for the given node of the given ModelTree.
cumulateDependencyViolations(ModelTree) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Recalculates the violations state of all nodes of the tree that contain children (e.g.
currentClass - Variable in class net.sf.jlayercheck.util.DependencyVisitor
 
currentClassDependencies - Variable in class net.sf.jlayercheck.util.DependencyVisitor
Contains the dependencies for the current class.
currentLineNumber - Variable in class net.sf.jlayercheck.util.DependencyVisitor
 
CycleFoundException - Exception in net.sf.jlayercheck.util.exceptions
Thrown by GraphModuleDependencies when the input graph contains cycles.
CycleFoundException() - Constructor for exception net.sf.jlayercheck.util.exceptions.CycleFoundException
 

D

DEFAULT_ENCODING - Static variable in class net.sf.jlayercheck.out.html.VelocityGenerator
Use UTF-8 as default encoding for templates.
DefaultClassNode - Class in net.sf.jlayercheck.util.modeltree
 
DefaultClassNode(String) - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
DefaultModelTree - Class in net.sf.jlayercheck.util.modeltree
 
DefaultModelTree() - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultModelTree
 
DefaultModuleNode - Class in net.sf.jlayercheck.util.modeltree
 
DefaultModuleNode(String) - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
DefaultModuleNode(String, boolean) - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
DefaultPackageNode - Class in net.sf.jlayercheck.util.modeltree
 
DefaultPackageNode(String) - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
DefaultPackageNode() - Constructor for class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
DependenciesTree - Class in net.sf.jlayercheck.gui
A JTree to visualize dependencies for a single ClassNode.
DependenciesTree() - Constructor for class net.sf.jlayercheck.gui.DependenciesTree
 
DependenciesTreeCellRenderer - Class in net.sf.jlayercheck.gui
Draws labels for allowed dependencies green, for unallowed red.
DependenciesTreeCellRenderer() - Constructor for class net.sf.jlayercheck.gui.DependenciesTreeCellRenderer
 
DependenciesTreeModel - Class in net.sf.jlayercheck.util.modeltree
Generates a tree model for the dependencies of a single ClassNode.
DependenciesTreeModel() - Constructor for class net.sf.jlayercheck.util.modeltree.DependenciesTreeModel
Generates an empty dependency representation model.
dependenciesTreeModel - Variable in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
dependency - Variable in class net.sf.jlayercheck.util.model.ClassDependency
 
DependencyParser - Class in net.sf.jlayercheck.util
Utility methods for calling the asm parser on a number of files.
DependencyParser() - Constructor for class net.sf.jlayercheck.util.DependencyParser
 
DependencyVisitor - Class in net.sf.jlayercheck.util
This class is a simple visitor object that collects all dependency information for the given classes.
DependencyVisitor() - Constructor for class net.sf.jlayercheck.util.DependencyVisitor
 
DependentClassNode - Class in net.sf.jlayercheck.util.modeltree
 
DependentClassNode(ClassDependency) - Constructor for class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
DependentModelTree - Class in net.sf.jlayercheck.util.modeltree
 
DependentModelTree() - Constructor for class net.sf.jlayercheck.util.modeltree.DependentModelTree
 
DependentModuleNode - Class in net.sf.jlayercheck.util.modeltree
 
DependentModuleNode(String, boolean) - Constructor for class net.sf.jlayercheck.util.modeltree.DependentModuleNode
 
DependentModuleNode(String) - Constructor for class net.sf.jlayercheck.util.modeltree.DependentModuleNode
 
DependentPackageNode - Class in net.sf.jlayercheck.util.modeltree
 
DependentPackageNode(String) - Constructor for class net.sf.jlayercheck.util.modeltree.DependentPackageNode
 

E

entryClasses - Variable in class net.sf.jlayercheck.util.XMLConfiguration
Contains classnames of classes that are used as program entries for the orphaned classes search.
equals(Object) - Method in class net.sf.jlayercheck.util.MethodCall
 
equals(Object) - Method in class net.sf.jlayercheck.util.model.ClassDependency
 
excludeList - Variable in class net.sf.jlayercheck.util.XMLConfiguration
Contains the packages that are excluded from the analysis (like java.**).
execute() - Method in class net.sf.jlayercheck.ant.JLCTask
Start execution.
expandAll() - Method in class net.sf.jlayercheck.gui.DependenciesTree
 

F

FilesystemClassSource - Class in net.sf.jlayercheck.util.model
 
FilesystemClassSource(String, String, String) - Constructor for class net.sf.jlayercheck.util.model.FilesystemClassSource
 
findFiles(String, String, String) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
Returns a map containing all sources found by a recursive search.
findNode(TreeNode, Class<? extends NamedTreeNode>, String) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
Searches for the first occurence of a node that is an instance of the given class and has the given name.
formatPackageName(String) - Static method in class net.sf.jlayercheck.util.HTMLOutput
Replaces "/" by "." to create a package name in the format the user expects to see.

G

generate() - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
generate(Writer) - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
Start generation and write output.
generator - Variable in class net.sf.jlayercheck.out.html.SourceCodeDecorator
The generator to use
getAllClassSources() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns a map containing all java class names and an URL that points to the source file.
getBasedir() - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
getBasedir() - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
getBin() - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
getClass(String) - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
getClass(String) - Method in interface net.sf.jlayercheck.util.modeltree.PackageNode
Retrieves the ClassNode with the given name.
getClassDependencies() - Method in interface net.sf.jlayercheck.util.modeltree.ClassNode
Returns all dependencies of this class.
getClassDependencies() - Method in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
getClassDependency() - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
Returns the ClassDependency that is represented by this ClassNode.
getClasses() - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
getClasses() - Method in interface net.sf.jlayercheck.util.modeltree.PackageNode
Returns the classes in this package.
getClassName() - Method in class net.sf.jlayercheck.util.MethodCall
 
getClassname() - Method in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
getClassNode(String) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
Returns the first ClassNode node for the given classname.
getClassNode(String) - Method in interface net.sf.jlayercheck.util.modeltree.ModelTree
Returns the first ClassNode node for the given classname.
getClassSources() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns the list of sources for the class and java files.
getConfig() - Method in class net.sf.jlayercheck.ant.JLCTask
 
getConstructorCalls() - Method in class net.sf.jlayercheck.util.DependencyVisitor
Returns a Map of class -> constructor calls.
getContext() - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
Get the current VelocityGenerator.context or create a new empty one.
getDependencies() - Method in class net.sf.jlayercheck.util.DependencyVisitor
Returns a Map containing class names as keys and another Map as values.
getDependenciesTreeModel() - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
Contains the tree that contains all dependencies of this class to other modules, packages and classes.
getDependency() - Method in class net.sf.jlayercheck.util.model.ClassDependency
The name of the class to which the dependency exists.
getEntryClasses() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns a Set of classes that are named as entry classes in the configuration file.
getExcludeList() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns all package entries that are specified to exclude in the configuration file.
getImage() - Method in class net.sf.jlayercheck.util.graph.GraphModuleDependencies
Returns a image containing the graph.
getIncomingDependenciesTreeModel() - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
getIncomingModel(Object, DependenciesTreeModel) - Method in class net.sf.jlayercheck.gui.PackageFrame
 
getLineNumber() - Method in class net.sf.jlayercheck.util.MethodCall
 
getLineNumbers() - Method in class net.sf.jlayercheck.util.model.ClassDependency
Returns a Set of line numbers, where dependencies to this class occured in the source file.
getMatchingModule(String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns the matching module for the given classname or null.
getMessage() - Method in exception net.sf.jlayercheck.util.exceptions.OrphanedSearchException
 
getMessage() - Method in exception net.sf.jlayercheck.util.exceptions.OverlappingModulesDefinitionException
 
getMethodName() - Method in class net.sf.jlayercheck.util.MethodCall
 
getModelTree(DependencyVisitor) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Builds a model that contains all dependency information that was retrieved from the class files.
getModule(String) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
Searches for the ModuleNode with the given name.
getModuleDependencies() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns the dependencies of all modules.
getModuleName() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
Returns the name of this module.
getModuleName() - Method in interface net.sf.jlayercheck.util.modeltree.ModuleNode
Returns the name of this module.
getModulePackages() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns the packages contained in every module.
getModules() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
 
getModules() - Method in interface net.sf.jlayercheck.util.modeltree.ModelTree
 
getName() - Method in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
getName() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
getName() - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
getName() - Method in interface net.sf.jlayercheck.util.modeltree.NamedTreeNode
 
getOrphanedClasses(Map<String, Map<String, Set<Integer>>>) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Calculates the orphaned classes based on the entry points of the configuration file and the dependency data from the DependencyVisitor.
getOutDir() - Method in class net.sf.jlayercheck.ant.JLCTask
 
getOutgoingModel(Object, DependenciesTreeModel) - Method in class net.sf.jlayercheck.gui.PackageFrame
 
getOutputDir() - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
getOutputFile() - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
getPackage(String) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
Searches for the PackageNode with the given name.
getPackage(String) - Method in interface net.sf.jlayercheck.util.modeltree.ModuleNode
Searches for the PackageNode with the given name.
getPackageModules() - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns a map that contains the mapping from packages to modules.
getPackagename() - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
getPackagename() - Method in interface net.sf.jlayercheck.util.modeltree.PackageNode
Returns the name of this package.
getPackageName(String) - Static method in class net.sf.jlayercheck.util.StringUtils
Returns the package name part of the given class name.
getPackages() - Method in class net.sf.jlayercheck.util.DependencyVisitor
Returns a Map containing package names as keys and another Set as values.
getPackages() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
getPackages() - Method in interface net.sf.jlayercheck.util.modeltree.ModuleNode
 
getSourceFiles() - Method in interface net.sf.jlayercheck.util.model.ClassSource
Returns a map that contains a mapping from the classname to the source file for a class for all classes found in the specified ClassSource.
getSourceFiles() - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
getSrc() - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
getTemplate() - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
 
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class net.sf.jlayercheck.gui.DependenciesTreeCellRenderer
 
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class net.sf.jlayercheck.gui.ModelPackageClassRenderer
 
getType() - Method in class net.sf.jlayercheck.util.MethodCall
 
getUnallowedDependencies(Map<String, Map<String, Set<Integer>>>) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns a map containing the dependencies (from class, to class) that are not allowed by the rules.
getUnassignedModule() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
Finds and returns the ModuleNode that is named "unassigned" and contains all packages that do not belong to any module.
getUnassignedModule() - Method in interface net.sf.jlayercheck.util.modeltree.ModelTree
Returns the node that contains the unassigned packages.
getUnspecifiedPackages(Map<String, Map<String, Set<Integer>>>) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns a list of packages that are not assigned to a module in the given configuration.
getUnvisitedDependendClasses(Set<String>, Map<String, Map<String, Set<Integer>>>, Map<String, URL>) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns all classnames that are directly referenced by the visited classes but not yet contained.
getXmlConfiguration() - Method in class net.sf.jlayercheck.gui.ModelPackageClassTree
 
GraphModuleDependencies - Class in net.sf.jlayercheck.util.graph
 
GraphModuleDependencies(Map<String, Set<String>>) - Constructor for class net.sf.jlayercheck.util.graph.GraphModuleDependencies
Creates a graph from the given dependencies.

H

hashCode() - Method in class net.sf.jlayercheck.util.MethodCall
 
hashCode() - Method in class net.sf.jlayercheck.util.model.ClassDependency
 
HTMLOutput - Class in net.sf.jlayercheck.util
Creates HTML output of the retrieved dependeny information.
HTMLOutput(String) - Constructor for class net.sf.jlayercheck.util.HTMLOutput
 

I

incomingDependenciesTreeModel - Variable in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
incomingList - Variable in class net.sf.jlayercheck.gui.PackageFrame
 
IOHelper - Class in net.sf.jlayercheck.util.io
Some helper methods for file and io handling.
IOHelper() - Constructor for class net.sf.jlayercheck.util.io.IOHelper
 
isExcluded(String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns true if the given class is excluded from the analysis.
isLeaf() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
isUnallowedDependency() - Method in class net.sf.jlayercheck.util.model.ClassDependency
If this dependency is allowed or not by the module/architecture configuration.
isUnallowedDependency() - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
isUnallowedDependency() - Method in class net.sf.jlayercheck.util.modeltree.DependentModelTree
 
isUnallowedDependency() - Method in class net.sf.jlayercheck.util.modeltree.DependentModuleNode
 
isUnallowedDependency() - Method in class net.sf.jlayercheck.util.modeltree.DependentPackageNode
 
isUnallowedDependency() - Method in interface net.sf.jlayercheck.util.modeltree.UnallowedOrAllowedDependency
 
isUnallowedDependency(String, String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns true if the dependency from fromClass to toClass is not allowed, otherwise false.
isUnallowedDependency(ModuleNode, ModuleNode) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns true if the module sourceModule may access destModule.
isUnallowedModuleDependency(String, String) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Returns true if the dependency from fromModule to toModule is not allowed, otherwise false.
isUnassignedModule() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
Returns true if this module is the "unassigned" module for excluded classes.
isUnassignedModule() - Method in interface net.sf.jlayercheck.util.modeltree.ModuleNode
Returns true if this module is the "unassigned" module for excluded classes.
isUnassignedPackage() - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
Returns true if this package is the "unassigned" package for excluded classes.
isUnassignedPackage() - Method in interface net.sf.jlayercheck.util.modeltree.PackageNode
Returns true if this is the "unassigned" package that contains excluded classes.

J

jgraph - Variable in class net.sf.jlayercheck.util.graph.GraphModuleDependencies
 
JLCTask - Class in net.sf.jlayercheck.ant
Configure and start HTML-output generation as ant task.
JLCTask() - Constructor for class net.sf.jlayercheck.ant.JLCTask
 

L

lineNumber - Variable in class net.sf.jlayercheck.util.MethodCall
 
lineNumbers - Variable in class net.sf.jlayercheck.util.model.ClassDependency
 
logger - Static variable in class net.sf.jlayercheck.util.HTMLOutput
 
logger - Static variable in class net.sf.jlayercheck.util.XMLConfiguration
 
logger - Static variable in class net.sf.jlayercheck.util.XMLConfigurationParser
 

M

main(String[]) - Static method in class net.sf.jlayercheck.gui.PackageFrame
 
main(String[]) - Static method in class net.sf.jlayercheck.util.graph.GraphModuleDependencies
 
merge(ModelTree) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
 
merge(DependentModelTree) - Method in class net.sf.jlayercheck.util.modeltree.DependenciesTreeModel
Merges the other tree into this tree.
merge(ModelTree) - Method in interface net.sf.jlayercheck.util.modeltree.ModelTree
Merges the given tree into this one.
mergeIncomingPackage(DependentPackageNode, DependenciesTreeModel) - Method in class net.sf.jlayercheck.gui.PackageFrame
 
mergePackage(DependentPackageNode, DependenciesTreeModel) - Method in class net.sf.jlayercheck.gui.PackageFrame
 
message - Variable in exception net.sf.jlayercheck.util.exceptions.OrphanedSearchException
 
message - Variable in exception net.sf.jlayercheck.util.exceptions.OverlappingModulesDefinitionException
 
MethodCall - Class in net.sf.jlayercheck.util
Contains the information that a given method of a given class was called in a given line.
MethodCall(String, String, MethodCall.Type, int) - Constructor for class net.sf.jlayercheck.util.MethodCall
 
MethodCall.Type - Enum in net.sf.jlayercheck.util
 
methodName - Variable in class net.sf.jlayercheck.util.MethodCall
 
ModelPackageClassRenderer - Class in net.sf.jlayercheck.gui
Cell renderer used by ModelPackageClassTree to display the tree.
ModelPackageClassRenderer() - Constructor for class net.sf.jlayercheck.gui.ModelPackageClassRenderer
 
ModelPackageClassTree - Class in net.sf.jlayercheck.gui
A tree view of the modules, packages and classes that can be reordered (e.g.
ModelPackageClassTree(XMLConfiguration) - Constructor for class net.sf.jlayercheck.gui.ModelPackageClassTree
 
modeltree - Variable in class net.sf.jlayercheck.gui.PackageFrame
 
ModelTree - Interface in net.sf.jlayercheck.util.modeltree
The root of the dependency tree.
moduleDependencies - Variable in class net.sf.jlayercheck.util.XMLConfiguration
Contains the dependencies that belong to one module.
moduleName - Variable in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
ModuleNode - Interface in net.sf.jlayercheck.util.modeltree
Describes a module that can contain java packages.
modulePackages - Variable in class net.sf.jlayercheck.util.XMLConfiguration
Contains the packages that belong to one module.

N

NamedTreeNode - Interface in net.sf.jlayercheck.util.modeltree
Returns the internal name of a node, e.g.
net.sf.jlayercheck.ant - package net.sf.jlayercheck.ant
 
net.sf.jlayercheck.gui - package net.sf.jlayercheck.gui
 
net.sf.jlayercheck.out.html - package net.sf.jlayercheck.out.html
 
net.sf.jlayercheck.util - package net.sf.jlayercheck.util
 
net.sf.jlayercheck.util.exceptions - package net.sf.jlayercheck.util.exceptions
 
net.sf.jlayercheck.util.graph - package net.sf.jlayercheck.util.graph
 
net.sf.jlayercheck.util.io - package net.sf.jlayercheck.util.io
 
net.sf.jlayercheck.util.model - package net.sf.jlayercheck.util.model
 
net.sf.jlayercheck.util.modeltree - package net.sf.jlayercheck.util.modeltree
 

O

OrphanedSearchException - Exception in net.sf.jlayercheck.util.exceptions
This exception is used in the search for orphaned classes when an error occurs.
OrphanedSearchException(String) - Constructor for exception net.sf.jlayercheck.util.exceptions.OrphanedSearchException
 
OUTDIR - Static variable in class net.sf.jlayercheck.ant.JLCTask
Default name for JLayerCheck output dir
outDir - Variable in class net.sf.jlayercheck.ant.JLCTask
the output directory
outgoingList - Variable in class net.sf.jlayercheck.gui.PackageFrame
 
outputDir - Variable in class net.sf.jlayercheck.out.html.SourceCodeDecorator
The output directory
outputDir - Variable in class net.sf.jlayercheck.util.HTMLOutput
The directory to write the HTML output to.
outputFile - Variable in class net.sf.jlayercheck.out.html.SourceCodeDecorator
The output file, not necessarily in SourceCodeDecorator.outputDir
OverlappingModulesDefinitionException - Exception in net.sf.jlayercheck.util.exceptions
 
OverlappingModulesDefinitionException(String) - Constructor for exception net.sf.jlayercheck.util.exceptions.OverlappingModulesDefinitionException
 

P

PACKAGE - Static variable in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Name of this package
PackageFrame - Class in net.sf.jlayercheck.gui
PackageFrame is part of a GUI that is used to test other dependencies by rearranging the classes and packages in the modules interactively in a treeview.
PackageFrame(String) - Constructor for class net.sf.jlayercheck.gui.PackageFrame
 
packageIcon - Variable in class net.sf.jlayercheck.gui.DependenciesTreeCellRenderer
 
packagename - Variable in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
PackageNode - Interface in net.sf.jlayercheck.util.modeltree
Describes a java package that can contain java classes.
packages - Variable in class net.sf.jlayercheck.util.DependencyVisitor
 
parse(File) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
Parses the given configuration file and creates an XMLConfiguration object.
parse(InputStream) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
Parses the given configuration file and creates an XMLConfiguration object.
parseArchitectureTag(Node, XMLConfiguration) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
parseEntry(Node, XMLConfiguration) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
Parses the entry tag.
parseExclude(Node, XMLConfiguration) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
parseHTML(String) - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Separates source lines from java2html's HTML code.
parseModule(Node, XMLConfiguration) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
parseSourcesTag(Node, XMLConfiguration) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
prepareContext() - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Prepare velocity context for generator and template.

R

readContent(URL) - Static method in class net.sf.jlayercheck.util.io.IOHelper
Read content from URL into string.

S

setBasedir(String) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
setBasedir(String) - Method in class net.sf.jlayercheck.util.XMLConfigurationParser
 
setBin(String) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
setClassDependency(ClassDependency) - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
setConfig(File) - Method in class net.sf.jlayercheck.ant.JLCTask
 
setContext(VelocityContext) - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
Set the VelocityGenerator.context.
setDependenciesTreeModel(DependenciesTreeModel) - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
setIncomingDependenciesTreeModel(DependenciesTreeModel) - Method in class net.sf.jlayercheck.util.modeltree.DependentClassNode
 
setModel(TreeModel) - Method in class net.sf.jlayercheck.gui.ModelPackageClassTree
 
setOutDir(File) - Method in class net.sf.jlayercheck.ant.JLCTask
 
setOutputDir(File) - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
setOutputFile(File) - Method in class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
setSrc(String) - Method in class net.sf.jlayercheck.util.model.FilesystemClassSource
 
setTemplate(String) - Method in class net.sf.jlayercheck.out.html.VelocityGenerator
 
setUnallowedDependency(boolean) - Method in class net.sf.jlayercheck.util.model.ClassDependency
 
setUnallowedDependency(boolean) - Method in class net.sf.jlayercheck.util.modeltree.DependentModelTree
 
setUnallowedDependency(boolean) - Method in class net.sf.jlayercheck.util.modeltree.DependentModuleNode
 
setUnallowedDependency(boolean) - Method in class net.sf.jlayercheck.util.modeltree.DependentPackageNode
 
setUnassignedModule(boolean) - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
setUnassignedPackage(boolean) - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
setXmlConfiguration(XMLConfiguration) - Method in class net.sf.jlayercheck.gui.ModelPackageClassTree
 
sortNodes() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModelTree
Sorts nodes and sorts the "unassigned" node to the end.
SourceCodeDecorator - Class in net.sf.jlayercheck.out.html
Generates the decorated source code as HTML.
SourceCodeDecorator(File, File) - Constructor for class net.sf.jlayercheck.out.html.SourceCodeDecorator
 
src - Variable in class net.sf.jlayercheck.util.model.FilesystemClassSource
Path to the .java files
StringUtils - Class in net.sf.jlayercheck.util
 
StringUtils() - Constructor for class net.sf.jlayercheck.util.StringUtils
 

T

template - Variable in class net.sf.jlayercheck.out.html.VelocityGenerator
The name of the template
TEMPLATENAME - Static variable in class net.sf.jlayercheck.out.html.SourceCodeDecorator
Template to use
toString() - Method in class net.sf.jlayercheck.util.modeltree.DefaultClassNode
 
toString() - Method in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
toString() - Method in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
type - Variable in class net.sf.jlayercheck.util.MethodCall
 

U

unallowedDependency - Variable in class net.sf.jlayercheck.util.model.ClassDependency
 
unallowedDependency - Variable in class net.sf.jlayercheck.util.modeltree.DependentModelTree
 
unallowedDependency - Variable in class net.sf.jlayercheck.util.modeltree.DependentModuleNode
 
unallowedDependency - Variable in class net.sf.jlayercheck.util.modeltree.DependentPackageNode
 
UnallowedOrAllowedDependency - Interface in net.sf.jlayercheck.util.modeltree
 
UNASSIGNED - Static variable in class net.sf.jlayercheck.util.modeltree.DependenciesTreeModel
 
unassignedModule - Variable in class net.sf.jlayercheck.util.modeltree.DefaultModuleNode
 
unassignedPackage - Variable in class net.sf.jlayercheck.util.modeltree.DefaultPackageNode
 
updateModelTree(ModelTree, File) - Method in class net.sf.jlayercheck.util.XMLConfiguration
Updates the given modeltree by replacing all information of the given classFile with new information.
updateTreeStatus() - Method in class net.sf.jlayercheck.gui.ModelPackageClassTree
Updates the status if nodes are unallowed dependencies.

V

valueChanged(TreeSelectionEvent) - Method in class net.sf.jlayercheck.gui.PackageFrame
 
valueOf(String) - Static method in enum net.sf.jlayercheck.util.MethodCall.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.jlayercheck.util.MethodCall.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VelocityGenerator - Class in net.sf.jlayercheck.out.html
Prepares velocity and an initial context for a template.
VelocityGenerator() - Constructor for class net.sf.jlayercheck.out.html.VelocityGenerator
Create a new generator.
VelocityGenerator(String, Map<String, Object>) - Constructor for class net.sf.jlayercheck.out.html.VelocityGenerator
Create a new generator for the given template
visit(int, int, String, String, String, String[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
Called when a new class file is loaded.
visit(String, Object) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitAnnotation(String, boolean) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitAnnotation(String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitAnnotationDefault() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitArray(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitArrayType() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitAttribute(Attribute) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitBaseType(char) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitClassBound() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitClassType(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitCode() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitEnd() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitEnum(String, String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitExceptionType() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitField(int, String, String, String, Object) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitFieldInsn(int, String, String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitFormalTypeParameter(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitFrame(int, int, Object[], int, Object[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitIincInsn(int, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitInnerClass(String, String, String, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitInnerClassType(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitInsn(int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitInterface() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitInterfaceBound() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitIntInsn(int, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitJumpInsn(int, Label) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitLabel(Label) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitLdcInsn(Object) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitLineNumber(int, Label) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitMaxs(int, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitMethodInsn(int, String, String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitMultiANewArrayInsn(String, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitOuterClass(String, String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitParameterAnnotation(int, String, boolean) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitParameterType() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitReturnType() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitSource(String, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitSuperclass() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTableSwitchInsn(int, int, Label, Label[]) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTypeArgument() - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTypeArgument(char) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTypeInsn(int, String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitTypeVariable(String) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 
visitVarInsn(int, int) - Method in class net.sf.jlayercheck.util.DependencyVisitor
 

W

write(DependencyVisitor, XMLConfiguration) - Method in class net.sf.jlayercheck.util.HTMLOutput
Writes the dependency information that was found into human readable HTML files containing the Java source code.
writeDependencyViolations(DependencyVisitor, XMLConfiguration, PrintWriter, Map<String, Map<String, ClassDependency>>, Map<String, URL>) - Method in class net.sf.jlayercheck.util.HTMLOutput
Writes a list of dependency violations to the given PrintWriter using html.
writeOrphanedClasses(DependencyVisitor, XMLConfiguration, PrintWriter) - Method in class net.sf.jlayercheck.util.HTMLOutput
 
writeSourceFile(String, String, Map<Integer, String>) - Method in class net.sf.jlayercheck.util.HTMLOutput
Writes the given java source into the given file.

X

xmlConfiguration - Variable in class net.sf.jlayercheck.gui.ModelPackageClassTree
 
XMLConfiguration - Class in net.sf.jlayercheck.util
Contains a configuration that describes the architecture of the project.
XMLConfiguration() - Constructor for class net.sf.jlayercheck.util.XMLConfiguration
 
XMLConfigurationParser - Class in net.sf.jlayercheck.util
Used to create XMLConfiguration objects from an xml configuration file.
XMLConfigurationParser() - Constructor for class net.sf.jlayercheck.util.XMLConfigurationParser
Creates a new parser object that can be used to create XMLConfiguration objects.

A B C D E F G H I J L M N O P R S T U V W X

Copyright © 2007. All Rights Reserved.