A C D E F G H I L M N O P R S T U V W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT_CLASS - Static variable in class classycle.ClassAttributes
-
Type constant.
- AbstractStrongComponentRenderer - Class in classycle.renderer
-
Abstract superclass of all
StrongComponentRenderer
. - AbstractStrongComponentRenderer() - Constructor for class classycle.renderer.AbstractStrongComponentRenderer
- add(Result) - Method in class classycle.dependency.ResultContainer
-
Adds a result.
- add(ResourceCollection) - Method in class classycle.ant.ClassycleTask
- addClass(ClassAttributes) - Method in class classycle.PackageAttributes
- addClass(ClassAttributes) - Method in class classycle.PackageVertex
- addCycle(StrongComponent) - Method in class classycle.dependency.CyclesResult
-
Adds the specified cycle.
- addIncomingArcTo(Vertex) - Method in class classycle.graph.Vertex
-
Adds an incoming arc to the specified vertex.
- addOutgoingArcTo(Vertex) - Method in class classycle.graph.Vertex
-
Adds an outgoing arc to the specified vertex.
- addSource(String) - Method in class classycle.NameAndSourceAttributes
-
Adds the specified source.
- addSourcesOf(NameAndSourceAttributes) - Method in class classycle.NameAndSourceAttributes
-
Adds the source of the specified attributes.
- addText(String) - Method in class classycle.ant.DependencyCheckingTask
- addVertex(AtomicVertex) - Method in class classycle.graph.StrongComponent
-
Adds the specified vertex to this strong component.
- ALL_PATHS - Static variable in class classycle.dependency.DefaultPreferenceFactory
- ALL_RESULTS - Static variable in class classycle.dependency.DefaultPreferenceFactory
- Analyser - Class in classycle
-
Main class of the Classycle tool.
- Analyser(String[]) - Constructor for class classycle.Analyser
-
Creates an instance for the specified files or folders.
- Analyser(String[], StringPattern, StringPattern, boolean) - Constructor for class classycle.Analyser
-
Creates an instance for the specified files or folders which are filtered by the specified
StringPattern
object. - AnalyserCommandLine - Class in classycle
-
Process command line arguments and options for the main application
Analyser
. - AnalyserCommandLine(String[]) - Constructor for class classycle.AnalyserCommandLine
- AndStringPattern - Class in classycle.util
-
Logical AND Operation on a sequence of
StringPatterns
. - AndStringPattern(StringPattern...) - Constructor for class classycle.util.AndStringPattern
-
Creates instance with specified patterns.
- appendPattern(StringPattern) - Method in class classycle.util.StringPatternSequence
-
Appends the specified pattern.
- ARCHIVE_PATH_DELIMITER - Static variable in class classycle.Parser
- AtomicVertex - Class in classycle.graph
-
A subclass of
Vertex
with the following additional properties: A flag indicating whether this vertex belongs to the graph or not. - AtomicVertex(Attributes) - Constructor for class classycle.graph.AtomicVertex
-
Creates an instance for the specified attributes.
- AtomicVertexRenderer - Interface in classycle.renderer
-
Renderer for
AtomicVertices
. - Attributes - Interface in classycle.graph
-
Interface of any general set of attributes a
Vertex
may have.
C
- calculateAttributes() - Method in class classycle.graph.StrongComponent
-
Calculates all graph properties of this component.
- calculateClassLayerMap() - Method in class classycle.Analyser
-
Calculates the for each class its layer index.
- calculatePackageLayerMap() - Method in class classycle.Analyser
-
Calculates the for each package its layer index.
- check() - Method in class classycle.dependency.DependencyChecker
-
Checks the graph.
- check(PrintWriter) - Method in class classycle.dependency.DependencyChecker
-
Checks the graph and write unwanted dependencies onto the specified writer.
- CHECK_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- CheckCyclesStatement - Class in classycle.dependency
- CheckCyclesStatement(StringPattern, int, boolean, SetDefinitionRepository) - Constructor for class classycle.dependency.CheckCyclesStatement
- CheckSetStatement - Class in classycle.dependency
- CheckSetStatement(StringPattern, SetDefinitionRepository) - Constructor for class classycle.dependency.CheckSetStatement
- CLASS - Static variable in class classycle.ClassAttributes
-
Type constant.
- CLASS_CYCLES_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- ClassAttributes - Class in classycle
-
Immutable class holding the attributes of a class vertex.
- ClassAttributes(String, String, String, int) - Constructor for class classycle.ClassAttributes
-
Creates an instance based on the specified name, type, and size.
- ClassConstant - Class in classycle.classfile
-
Class constant.
- ClassConstant(Constant[], int) - Constructor for class classycle.classfile.ClassConstant
-
Creates an instance for the specified index refering an
UTF8Constant
. - classycle - package classycle
- classycle.ant - package classycle.ant
- classycle.classfile - package classycle.classfile
- classycle.dependency - package classycle.dependency
- classycle.graph - package classycle.graph
- classycle.renderer - package classycle.renderer
- classycle.util - package classycle.util
- ClassycleTask - Class in classycle.ant
-
Common attributes of all Classyle Ant tasks.
- ClassycleTask() - Constructor for class classycle.ant.ClassycleTask
- CommandLine - Class in classycle
- CommandLine(String[]) - Constructor for class classycle.CommandLine
- compareTo(Attributes) - Method in class classycle.graph.NameAttributes
- compareTo(Vertex) - Method in class classycle.graph.Vertex
- condenseClassGraph() - Method in class classycle.Analyser
-
Condenses the class graph to an acyclic graph of its strong components.
- condensePackageGraph() - Method in class classycle.Analyser
-
Condenses the package graph to an acyclic graph of its strong components.
- considerPreference(Preference) - Method in class classycle.dependency.DefaultResultRenderer
- considerPreference(Preference) - Method in class classycle.dependency.ResultRenderer
- considerPreference(Preference) - Method in class classycle.dependency.XMLResultRenderer
- Constant - Class in classycle.classfile
-
Abstract super class of all type of constants in the constant pool of a class file.
- Constant(Constant[]) - Constructor for class classycle.classfile.Constant
-
Creates an instance.
- ConstantPoolPrinter - Class in classycle.classfile
-
Application which prints the
Constant
pool of a class file onto the console. - ConstantPoolPrinter() - Constructor for class classycle.classfile.ConstantPoolPrinter
- createAbstractClass(String, String, int) - Static method in class classycle.ClassAttributes
-
Creates an instance of the type
ClassAttributes.ABSTRACT_CLASS
. - createClass(String, String, int) - Static method in class classycle.ClassAttributes
-
Creates an instance of the type
ClassAttributes.CLASS
. - createClassGraph() - Method in class classycle.Analyser
-
Parses the class files and creates the class graph.
- createFromsPatterns(String, String) - Static method in class classycle.util.WildCardPattern
-
Returns a
StringPattern
object based on a sequences of wild-card patterns separated by the specified delimiter characters. - createInterface(String, String, int) - Static method in class classycle.ClassAttributes
-
Creates an instance of the type
ClassAttributes.INTERFACE
. - createName(StrongComponent) - Static method in class classycle.renderer.AbstractStrongComponentRenderer
-
Creates an appropriated name for the specified
StrongComponent
. - createPackageGraph() - Method in class classycle.Analyser
-
Creates the package graph from the class graph.
- createUnknownClass(String, int) - Static method in class classycle.ClassAttributes
-
Creates an instance of the type
ClassAttributes.UNKNOWN
. - CyclesResult - Class in classycle.dependency
-
Result of a cyclic check.
- CyclesResult(String, boolean) - Constructor for class classycle.dependency.CyclesResult
-
Creates an instance for the specified statement.
D
- deepSearchFirst(Vertex[]) - Method in class classycle.graph.GraphProcessor
-
Performs a deep search first of the specified graph.
- DefaultPreferenceFactory - Class in classycle.dependency
-
Factory of
Preferences
known by theDefaultResultRenderer
. - DefaultPreferenceFactory() - Constructor for class classycle.dependency.DefaultPreferenceFactory
- DefaultResultRenderer - Class in classycle.dependency
- DefaultResultRenderer() - Constructor for class classycle.dependency.DefaultResultRenderer
- DependencyChecker - Class in classycle.dependency
-
Checks a class graph for unwanted dependencies.
- DependencyChecker(Analyser, String, Map<Object, Object>, ResultRenderer) - Constructor for class classycle.dependency.DependencyChecker
-
Creates a new instance.
- DependencyCheckerCommandLine - Class in classycle.dependency
- DependencyCheckerCommandLine(String[]) - Constructor for class classycle.dependency.DependencyCheckerCommandLine
- DependencyCheckingTask - Class in classycle.ant
-
Ant Task for checking class dependencies.
- DependencyCheckingTask() - Constructor for class classycle.ant.DependencyCheckingTask
- DependencyDefinitionParser - Class in classycle.dependency
-
Parser for a dependency definition file.
- DependencyDefinitionParser(String, DependencyProperties, ResultRenderer) - Constructor for class classycle.dependency.DependencyDefinitionParser
- DependencyPathsRenderer - Class in classycle.dependency
- DependencyPathsRenderer(Vertex[], VertexCondition, VertexCondition) - Constructor for class classycle.dependency.DependencyPathsRenderer
- DependencyPathsRenderer(Vertex[], StringPattern, StringPattern) - Constructor for class classycle.dependency.DependencyPathsRenderer
- DependencyProcessor - Class in classycle.dependency
-
Processor of
Statements
as defined in a dependency definition file. - DependencyProcessor(String, DependencyProperties, ResultRenderer) - Constructor for class classycle.dependency.DependencyProcessor
-
Creates a new instance for the specified dependency definition.
- DependencyResult - Class in classycle.dependency
-
Result of a dependency check.
- DependencyResult(StringPattern, StringPattern, String, AtomicVertex[]) - Constructor for class classycle.dependency.DependencyResult
- DependencyStatement - Class in classycle.dependency
- DependencyStatement(StringPattern[], StringPattern[], String, SetDefinitionRepository, ResultRenderer) - Constructor for class classycle.dependency.DependencyStatement
- DEPENDENT_ONLY_ON_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- DIRECTLY_INDEPENDENT_OF_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- DoubleConstant - Class in classycle.classfile
-
Constant representing a double value.
- DoubleConstant(Constant[], double) - Constructor for class classycle.classfile.DoubleConstant
-
Creates an instance for the specified double value.
E
- excapeForXML(String) - Static method in class classycle.util.Text
-
Escapes special XML characters in the specified text.
- EXCLUDING_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- execute() - Method in class classycle.ant.ClassycleTask
- execute() - Method in class classycle.ant.DependencyCheckingTask
- execute() - Method in class classycle.ant.ReportTask
- execute(AtomicVertex[]) - Method in class classycle.dependency.CheckCyclesStatement
- execute(AtomicVertex[]) - Method in class classycle.dependency.CheckSetStatement
- execute(AtomicVertex[]) - Method in class classycle.dependency.DependencyStatement
- execute(AtomicVertex[]) - Method in class classycle.dependency.LayeringStatement
- execute(AtomicVertex[]) - Method in class classycle.dependency.ShowStatement
- execute(AtomicVertex[]) - Method in interface classycle.dependency.Statement
- executeNextStatement(AtomicVertex[]) - Method in class classycle.dependency.DependencyProcessor
-
Executes the next unprocessed statement and returns its result.
- extractConstantPool(DataInputStream) - Static method in class classycle.classfile.Constant
-
Extracts the constant pool from the specified data stream of a class file.
F
- FieldRefConstant - Class in classycle.classfile
-
Reference constant for a field.
- FieldRefConstant(Constant[], int, int) - Constructor for class classycle.classfile.FieldRefConstant
- findPaths(AtomicVertex[]) - Method in class classycle.graph.PathsFinder
-
Finds all paths from the specified start vertices to the vertices fullfilling the specified condition.
- finishProcessing(Vertex[]) - Method in class classycle.graph.GraphProcessor
-
Finishes processing.
- finishProcessing(Vertex[]) - Method in class classycle.graph.LongestWalkProcessor
-
Finishes processing by sorting the result in accordance with the walk length.
- finishProcessing(Vertex[]) - Method in class classycle.graph.StrongComponentProcessor
-
Adds all arcs to the strong components.
- finishProcessing(Vertex[]) - Method in class classycle.PackageProcessor
- FloatConstant - Class in classycle.classfile
-
Constant representing a float value.
- FloatConstant(Constant[], float) - Constructor for class classycle.classfile.FloatConstant
-
Creates an instance for the specified float value.
G
- get(String) - Method in class classycle.dependency.DefaultPreferenceFactory
- get(String) - Method in interface classycle.dependency.PreferenceFactory
- getAttributes() - Method in class classycle.graph.Vertex
-
Returns the attributes.
- getBestFragmenters() - Method in interface classycle.graph.GraphAttributes
-
Returns those vertices of a
StrongComponent
where the maximum fragment size is equal to the best fragment size. - getBestFragmentersElementName() - Method in class classycle.renderer.XMLStrongComponentRenderer
- getBestFragmentSize() - Method in interface classycle.graph.GraphAttributes
-
Returns the best fragment size.
- getCenterNodesElementName() - Method in class classycle.renderer.XMLStrongComponentRenderer
- getCenterNodesElementName() - Method in class classycle.XMLPackageStrongComponentRenderer
- getCenterVertices() - Method in interface classycle.graph.GraphAttributes
-
Returns the vertices of the center.
- getClassConstant() - Method in class classycle.classfile.RefConstant
-
Returns the class constant.
- getClasses() - Method in class classycle.PackageAttributes
- getClassFileNames() - Method in class classycle.ant.ClassycleTask
- getClassFiles() - Method in class classycle.CommandLine
-
Returns all class file descriptors (i.e., class files, directorys, jar files, or zip files).
- getClassGraph() - Method in class classycle.Analyser
-
Returns the class graph.
- getClassLayerMap() - Method in class classycle.Analyser
-
Calculates the for each class its layer index and returns a Map where the classes are the keys (type
AtomicVertex
) and the layer indices are the values (type Integer). - getCondensedClassGraph() - Method in class classycle.Analyser
-
Returns the condensed the class graph, i.e. the acyclic graph of its strong components.
- getCondensedGraph() - Method in class classycle.graph.StrongComponentAnalyser
-
Returns the graph of strong components.
- getCondensedPackageGraph() - Method in class classycle.Analyser
-
Returns the condensed package graph, i.e. the acyclic graph of its strong components.
- getConstant(int) - Method in class classycle.classfile.Constant
-
Returns the specified constant from the pool.
- getCsvFile() - Method in class classycle.AnalyserCommandLine
-
Returns the name of the CSV file as defined by the option -csvFile.
- getCycles() - Method in class classycle.dependency.CyclesResult
-
Returns all added cycles.
- getDependencyDefinition() - Method in class classycle.dependency.DependencyCheckerCommandLine
- getDescriptionOfCurrentPreferences() - Method in class classycle.dependency.DefaultResultRenderer
- getDescriptionOfCurrentPreferences() - Method in class classycle.dependency.ResultRenderer
- getDescriptionOfCurrentPreferences() - Method in class classycle.dependency.XMLResultRenderer
- getDescriptor() - Method in class classycle.classfile.MethodTypeConstant
-
Returns the type or method descriptor.
- getDescriptor() - Method in class classycle.classfile.NameAndTypeConstant
-
Returns the type or method descriptor.
- getDiameter() - Method in interface classycle.graph.GraphAttributes
-
Returns the diameter.
- getEccentricities() - Method in interface classycle.graph.GraphAttributes
-
Returns the eccentricies of all vertices of a
StrongComponent
. - getElement() - Method in class classycle.renderer.XMLAtomicVertexRenderer
- getElement() - Method in class classycle.renderer.XMLClassRenderer
- getElement() - Method in class classycle.XMLPackageRenderer
- getFinalSet() - Method in class classycle.dependency.DependencyResult
-
Returns the pattern describing the final set.
- getFinalSetCondition() - Method in class classycle.graph.PathsFinder
- getGirth() - Method in interface classycle.graph.GraphAttributes
-
Returns the girth.
- getGraph() - Method in class classycle.graph.StrongComponentAnalyser
-
Returns the original graph.
- getGraph() - Method in class classycle.PackageProcessor
-
Returns the package graph after processing.
- getHeadVertex(int) - Method in class classycle.graph.Vertex
-
Returns the head vertex of the specified outgoing arc.
- getKey() - Method in interface classycle.dependency.Preference
- getLayerMap() - Method in class classycle.graph.StrongComponentAnalyser
-
Returns the maping of the nodes of the original graph onto a layer index (i.e. length of the longest path of the condensed graph).
- getLongestWalk() - Method in class classycle.graph.StrongComponent
- getLow() - Method in class classycle.graph.AtomicVertex
-
Returns the current value of the low function.
- getMaximumFragmentSizes() - Method in interface classycle.graph.GraphAttributes
-
Returns the maximum fragment sizes of all vertices of a
StrongComponent
. - getName() - Method in class classycle.classfile.ClassConstant
-
Returns the fully-qualified class name.
- getName() - Method in class classycle.classfile.NameAndTypeConstant
-
Returns the name.
- getName() - Method in class classycle.graph.NameAttributes
-
Returns the name.
- getNameAndType() - Method in class classycle.classfile.InvokeDynamicConstant
-
Returns name and type.
- getNameAndType() - Method in class classycle.classfile.RefConstant
-
Returns the name-and-type constant.
- getNodeElementName() - Method in class classycle.renderer.XMLStrongComponentRenderer
- getNodeElementName() - Method in class classycle.XMLPackageStrongComponentRenderer
- getNodesElementName() - Method in class classycle.renderer.XMLStrongComponentRenderer
- getNodesElementName() - Method in class classycle.XMLPackageStrongComponentRenderer
- getNumberOfExternalClasses() - Method in class classycle.Analyser
-
Counts the number of external classes.
- getNumberOfIncomingArcs() - Method in class classycle.graph.Vertex
-
Returns the number of incoming arcs.
- getNumberOfOutgoingArcs() - Method in class classycle.graph.Vertex
-
Returns the number of outgoing arcs.
- getNumberOfResults() - Method in class classycle.dependency.ResultContainer
-
Returns the number of added results.
- getNumberOfVertices() - Method in class classycle.graph.StrongComponent
-
Returns the number of vertices building this strong component.
- getOperatorSymbol() - Method in class classycle.util.AndStringPattern
- getOperatorSymbol() - Method in class classycle.util.OrStringPattern
- getOperatorSymbol() - Method in class classycle.util.StringPatternSequence
-
Returns the operator symbol for pretty printing.
- getOrder() - Method in class classycle.graph.AtomicVertex
-
Returns the order of visiting.
- getPackageGraph() - Method in class classycle.Analyser
-
Returns the package graph created the class graph.
- getPackageLayerMap() - Method in class classycle.Analyser
-
Calculates the for each package its layer index and returns a Map where the packages are the keys (type
AtomicVertex
) and the layer indices are the values (type Integer). - getPaths() - Method in class classycle.dependency.DependencyResult
-
Returns the vertices of the paths of unwanted dependencies.
- getPattern() - Method in class classycle.ant.ClassycleTask
- getPattern() - Method in class classycle.CommandLine
-
Returns the pattern fully qualified class names have to match.
- getPreferenceFactory() - Method in class classycle.dependency.DefaultResultRenderer
- getPreferenceFactory() - Method in class classycle.dependency.ResultRenderer
- getPreferenceFactory() - Method in class classycle.dependency.XMLResultRenderer
- getRadius() - Method in interface classycle.graph.GraphAttributes
-
Returns the radius.
- getRefElement() - Method in class classycle.renderer.XMLAtomicVertexRenderer
- getRefElement() - Method in class classycle.renderer.XMLClassRenderer
- getRefElement() - Method in class classycle.XMLPackageRenderer
- getReflectionPattern() - Method in class classycle.ant.ClassycleTask
- getReflectionPattern() - Method in class classycle.CommandLine
-
Returns the reflection pattern as extracted from the option -reflectionPattern.
- getRenderer() - Method in class classycle.dependency.DependencyCheckerCommandLine
- getResult(int) - Method in class classycle.dependency.ResultContainer
-
Returns the result with specified index.
- getSize() - Method in class classycle.ClassAttributes
-
Returns the size of the class file in bytes.
- getSize() - Method in class classycle.graph.NameAttributes
- getSize() - Method in class classycle.PackageAttributes
- getSources() - Method in class classycle.NameAndSourceAttributes
-
Returns a comma separated list of sources.
- getStartSet() - Method in class classycle.dependency.DependencyResult
-
Returns the pattern describing the start set.
- getStartSetCondition() - Method in class classycle.graph.PathsFinder
- getStatement() - Method in class classycle.dependency.CyclesResult
-
Returns the statement.
- getStatement() - Method in class classycle.dependency.DependencyResult
-
Returns the statement causing this result.
- getStatements() - Method in class classycle.dependency.DependencyDefinitionParser
- getString() - Method in class classycle.classfile.StringConstant
-
Returns the string value.
- getString() - Method in class classycle.classfile.UTF8Constant
-
Returns the wrapped string.
- getStrongComponentElementName() - Method in class classycle.renderer.XMLStrongComponentRenderer
- getStrongComponentElementName() - Method in class classycle.XMLPackageStrongComponentRenderer
- getStrongComponents() - Method in class classycle.graph.StrongComponentProcessor
-
Returns the result of
GraphProcessor.deepSearchFirst(classycle.graph.Vertex[])
. - getTailVertex(int) - Method in class classycle.graph.Vertex
-
Returns the tail vertex of the specified outgoing arc.
- getTitle() - Method in class classycle.AnalyserCommandLine
-
Returns the title by the option -title.
- getType() - Method in class classycle.ClassAttributes
-
Returns the class type.
- getUsage() - Method in class classycle.AnalyserCommandLine
-
Returns the usage of correct command line arguments and options.
- getUsage() - Method in class classycle.CommandLine
-
Returns the usage of correct command line arguments and options.
- getUsage() - Method in class classycle.dependency.DependencyCheckerCommandLine
-
Returns the usage of correct command line arguments and options.
- getValue() - Method in class classycle.classfile.DoubleConstant
-
Returns the wrapped double value.
- getValue() - Method in class classycle.classfile.FloatConstant
-
Returns the wrapped float value.
- getValue() - Method in class classycle.classfile.IntConstant
-
Returns the wrapped int value.
- getValue() - Method in class classycle.classfile.LongConstant
-
Returns the wrapped long value.
- getVertex(int) - Method in class classycle.graph.StrongComponent
-
Returns the vertex of the specified index.
- getVertexRenderer() - Method in class classycle.renderer.XMLAtomicVertexRenderer
- getVertexRenderer() - Method in class classycle.renderer.XMLClassRenderer
- getVertexRenderer() - Method in class classycle.XMLPackageRenderer
- getXmlFile() - Method in class classycle.AnalyserCommandLine
-
Returns the name of the XML file as defined by the option -xmlFile.
- GraphAttributes - Interface in classycle.graph
-
Attributes of a graph.
- GraphProcessor - Class in classycle.graph
-
Abstract class for all algorithms based on deep search first.
- GraphProcessor() - Constructor for class classycle.graph.GraphProcessor
H
- handleOption(String) - Method in class classycle.AnalyserCommandLine
- handleOption(String) - Method in class classycle.CommandLine
- handleOption(String) - Method in class classycle.dependency.DependencyCheckerCommandLine
- hasMoreStatements() - Method in class classycle.dependency.DependencyProcessor
-
Returns true if there are still unprocessed statements.
I
- IN_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- INDEPENDENT_OF_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- initializeProcessing(Vertex[]) - Method in class classycle.graph.GraphProcessor
-
Initializes processing.
- initializeProcessing(Vertex[]) - Method in class classycle.graph.LongestWalkProcessor
-
Does nothing.
- initializeProcessing(Vertex[]) - Method in class classycle.graph.StrongComponentProcessor
- initializeProcessing(Vertex[]) - Method in class classycle.PackageProcessor
- IntConstant - Class in classycle.classfile
-
Constant representing a int value.
- IntConstant(Constant[], int) - Constructor for class classycle.classfile.IntConstant
-
Creates an instance for the specified int value.
- INTERFACE - Static variable in class classycle.ClassAttributes
-
Type constant.
- InterfaceMethodRefConstant - Class in classycle.classfile
-
Reference constant for an interface method.
- InterfaceMethodRefConstant(Constant[], int, int) - Constructor for class classycle.classfile.InterfaceMethodRefConstant
- InvokeDynamicConstant - Class in classycle.classfile
-
Constant specifying a bootstrap method..
- InvokeDynamicConstant(Constant[], int, int) - Constructor for class classycle.classfile.InvokeDynamicConstant
-
Creates an instance for the specified bootstrap method.
- isActive() - Method in class classycle.graph.StrongComponent
- isCycles() - Method in class classycle.AnalyserCommandLine
-
Returns true if the option -cycles has been set.
- isFulfilled(Vertex) - Method in class classycle.dependency.PatternVertexCondition
- isFulfilled(Vertex) - Method in interface classycle.graph.VertexCondition
-
Returns
true
if the specified vertex fulfills the condition. - isGraphVertex() - Method in class classycle.graph.AtomicVertex
-
Returns true if this vertex belongs to a graph.
- isInnerClass() - Method in class classycle.ClassAttributes
-
Returns true in the case of an inner class.
- isMergeInnerClasses() - Method in class classycle.ant.ClassycleTask
- isMergeInnerClasses() - Method in class classycle.CommandLine
-
Returns
true
if the command line option-mergeInnerClasses
occured. - isOk() - Method in class classycle.dependency.CyclesResult
-
Returns
true
if no cycles have been added. - isOk() - Method in class classycle.dependency.DependencyResult
-
Returns
true
if and only ifDependencyResult.getPaths()
is empty. - isOk() - Method in interface classycle.dependency.Result
-
Returns
true
if the checking result is positive. - isOk() - Method in class classycle.dependency.ResultContainer
- isOk() - Method in class classycle.dependency.TextResult
- isPackageCycle() - Method in class classycle.dependency.CyclesResult
-
Returns
true/false
if this result is on package/class cycles. - isPackagesOnly() - Method in class classycle.AnalyserCommandLine
-
Returns true if the option -package has been set.
- isRaw() - Method in class classycle.AnalyserCommandLine
-
Returns true if the option -raw has been set.
- isShortestPathsOnly() - Method in class classycle.graph.PathsFinder
- isStrong() - Method in class classycle.AnalyserCommandLine
-
Returns true if the option -strong has been set.
- isValid() - Method in class classycle.CommandLine
-
Returns true if the command line arguments and options are valid.
- isValid() - Method in class classycle.dependency.DependencyCheckerCommandLine
- isVisited() - Method in class classycle.graph.Vertex
-
Returns the visited flag.
L
- LAYER_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- LAYERING_OF_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- LayeringStatement - Class in classycle.dependency
- LayeringStatement(StringPattern[][], boolean, SetDefinitionRepository, LayerDefinitionRepository, ResultRenderer) - Constructor for class classycle.dependency.LayeringStatement
- LongConstant - Class in classycle.classfile
-
Constant representing a long value.
- LongConstant(Constant[], long) - Constructor for class classycle.classfile.LongConstant
-
Creates an instance for the specified long value.
- LongestWalkProcessor - Class in classycle.graph
-
Calculates for each vertex the longest walk.
- LongestWalkProcessor() - Constructor for class classycle.graph.LongestWalkProcessor
M
- main(String[]) - Static method in class classycle.Analyser
-
Main method of the Analyser.
- main(String[]) - Static method in class classycle.classfile.ConstantPoolPrinter
-
Reads a class file and prints the constant pool onto System.out.
- main(String[]) - Static method in class classycle.dependency.DependencyChecker
-
Runs the DependencyChecker application.
- matches(String) - Method in class classycle.util.AndStringPattern
-
Return
false
if a pattern in the sequence returnsfalse
. - matches(String) - Method in class classycle.util.NotStringPattern
-
Returns true if the wrapped
StringPattern
returns false and vice-versa. - matches(String) - Method in class classycle.util.OrStringPattern
-
Return
true
if a pattern in the sequence returnstrue
. - matches(String) - Method in interface classycle.util.StringPattern
-
Returns true if the specified string matches the pattern.
- matches(String) - Method in class classycle.util.TrueStringPattern
-
Returns
true
independent of the argument. - matches(String) - Method in class classycle.util.WildCardPattern
- MethodHandleConstant - Class in classycle.classfile
-
Constant representing a method handle.
- MethodHandleConstant(Constant[], int, int) - Constructor for class classycle.classfile.MethodHandleConstant
-
Creates an instance for the specified method reference.
- MethodRefConstant - Class in classycle.classfile
-
Reference constant for a method.
- MethodRefConstant(Constant[], int, int) - Constructor for class classycle.classfile.MethodRefConstant
- MethodTypeConstant - Class in classycle.classfile
-
Constant representing a method type.
- MethodTypeConstant(Constant[], int) - Constructor for class classycle.classfile.MethodTypeConstant
-
Creates an instance for the specified method reference.
N
- NameAndSourceAttributes - Class in classycle
-
Abstract super class of
Attributes
with a name and a set of sources. - NameAndSourceAttributes(String) - Constructor for class classycle.NameAndSourceAttributes
-
Creates an instance for the specified name.
- NameAndTypeConstant - Class in classycle.classfile
-
Constant holding a name and a type or method descriptor.
- NameAndTypeConstant(Constant[], int, int) - Constructor for class classycle.classfile.NameAndTypeConstant
-
Creates an instance for the specified name and type or method descriptor.
- NameAttributes - Class in classycle.graph
- NameAttributes(String) - Constructor for class classycle.graph.NameAttributes
- NotStringPattern - Class in classycle.util
-
Logical NOT operation on the result of a wrapped
StringPattern
. - NotStringPattern(StringPattern) - Constructor for class classycle.util.NotStringPattern
-
Creates an instance based on the specified pattern.
O
- ONLY_FAILURES - Static variable in class classycle.dependency.DefaultPreferenceFactory
- ONLY_SHORTEST_PATHS - Static variable in class classycle.dependency.DefaultPreferenceFactory
- onlyShortestPaths() - Method in class classycle.dependency.ResultRenderer
- OrStringPattern - Class in classycle.util
-
Logical OR Operation on a sequence of
StringPatterns
. - OrStringPattern(StringPattern...) - Constructor for class classycle.util.OrStringPattern
-
Creates instance with specified patterns.
P
- PACKAGE_CYCLES_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- PackageAttributes - Class in classycle
- PackageAttributes(String) - Constructor for class classycle.PackageAttributes
- PackageProcessor - Class in classycle
-
Processor which extracts the package dependency graph from the class dependency graph.
- PackageProcessor() - Constructor for class classycle.PackageProcessor
- PackageVertex - Class in classycle
- PackageVertex(String) - Constructor for class classycle.PackageVertex
- Parser - Class in classycle
-
Utility methods for parsing class files and creating directed graphs.
- PathsFinder - Class in classycle.graph
-
Class searching for all (or only the shortest) paths between classes of a start set and classes of a final set.
- PathsFinder(VertexCondition, VertexCondition, boolean) - Constructor for class classycle.graph.PathsFinder
-
Creates an instance for the specified vertex conditions.
- PathsFinder(VertexCondition, VertexCondition, boolean, boolean) - Constructor for class classycle.graph.PathsFinder
-
Creates an instance for the specified vertex conditions.
- PatternVertexCondition - Class in classycle.dependency
- PatternVertexCondition(StringPattern) - Constructor for class classycle.dependency.PatternVertexCondition
- PlainClassRenderer - Class in classycle.renderer
-
Plain text renderer of an
AtomicVertex
withClassAttributes
. - PlainClassRenderer() - Constructor for class classycle.renderer.PlainClassRenderer
- PlainStrongComponentRenderer - Class in classycle.renderer
-
Plain text renderer of a
StrongComponent
. - PlainStrongComponentRenderer() - Constructor for class classycle.renderer.PlainStrongComponentRenderer
- Preference - Interface in classycle.dependency
- PreferenceFactory - Interface in classycle.dependency
- printComponents(PrintWriter, int) - Method in class classycle.Analyser
-
Prints for each strong component of the class graph a raw output into the specified writer.
- printCSV(PrintWriter) - Method in class classycle.Analyser
-
Prints a CSV report into the specified writer.
- printRaw(PrintWriter) - Method in class classycle.Analyser
-
Prints for each class a raw output into the specified writer.
- printXML(String, boolean, PrintWriter) - Method in class classycle.Analyser
-
Prints an XML report into the specified writer.
- process(Vertex) - Method in class classycle.graph.GraphProcessor
-
Processes the specified vertex.
- processAfter(Vertex) - Method in class classycle.graph.GraphProcessor
-
Processes the specified vertex after its arcs have been processed.
- processAfter(Vertex) - Method in class classycle.graph.LongestWalkProcessor
-
Deactivate the specified vertex.
- processAfter(Vertex) - Method in class classycle.graph.StrongComponentProcessor
-
Processes the specified vertex after all its outgoing arcs are processed.
- processAfter(Vertex) - Method in class classycle.PackageProcessor
- processArc(Vertex, Vertex) - Method in class classycle.graph.GraphProcessor
-
Processes the arc specified by tail and head vertices.
- processArc(Vertex, Vertex) - Method in class classycle.graph.LongestWalkProcessor
-
Processes arc from tail to head.
- processArc(Vertex, Vertex) - Method in class classycle.graph.StrongComponentProcessor
- processArc(Vertex, Vertex) - Method in class classycle.PackageProcessor
- processBefore(Vertex) - Method in class classycle.graph.GraphProcessor
-
Processes the specified vertex before its outgoing arcs are processed.
- processBefore(Vertex) - Method in class classycle.graph.LongestWalkProcessor
-
Resets the specified vertex.
- processBefore(Vertex) - Method in class classycle.graph.StrongComponentProcessor
- processBefore(Vertex) - Method in class classycle.PackageProcessor
R
- readAndAnalyse(boolean) - Method in class classycle.Analyser
-
Reads and analyses class files.
- readClassFiles(String[]) - Static method in class classycle.Parser
-
Reads and parses class files and creates a direct graph.
- readClassFiles(String[], StringPattern, StringPattern, boolean) - Static method in class classycle.Parser
-
Reads the specified class files and creates a directed graph where each vertex represents a class.
- readTextFile(File) - Static method in class classycle.util.Text
-
Reads multi-line text from the specified file.
- RefConstant - Class in classycle.classfile
-
Abstract supper class of all reference constants.
- RefConstant(Constant[], int, int) - Constructor for class classycle.classfile.RefConstant
-
Creates an instance for the specified class, name, and type.
- render(Result) - Method in class classycle.dependency.DefaultResultRenderer
- render(Result) - Method in class classycle.dependency.ResultRenderer
- render(Result) - Method in class classycle.dependency.XMLResultRenderer
- render(AtomicVertex, StrongComponent, int) - Method in interface classycle.renderer.AtomicVertexRenderer
-
Renders an
AtomicVertex
. - render(AtomicVertex, StrongComponent, int) - Method in class classycle.renderer.PlainClassRenderer
-
Renderes the specified vertex.
- render(AtomicVertex, StrongComponent, int) - Method in class classycle.renderer.TemplateBasedClassRenderer
-
Renderes the specified vertex.
- render(AtomicVertex, StrongComponent, int) - Method in class classycle.renderer.XMLAtomicVertexRenderer
-
Renderes the specified vertex.
- render(StrongComponent) - Method in class classycle.renderer.PlainStrongComponentRenderer
- render(StrongComponent) - Method in interface classycle.renderer.StrongComponentRenderer
-
Renderes the specified
StrongComponent
. - render(StrongComponent) - Method in class classycle.renderer.TemplateBasedStrongComponentRenderer
- render(StrongComponent) - Method in class classycle.renderer.XMLStrongComponentRenderer
- renderGraph(DependencyPathRenderer) - Method in class classycle.dependency.DependencyPathsRenderer
- renderGraph(String) - Method in class classycle.dependency.DependencyPathsRenderer
- ReportTask - Class in classycle.ant
-
Ant Task for creating a Classycle Analyser report, either raw, CSV, or XML.
- ReportTask() - Constructor for class classycle.ant.ReportTask
- reset() - Method in class classycle.graph.AtomicVertex
-
Reset this instance.
- reset() - Method in class classycle.graph.StrongComponent
-
Reset this component.
- reset() - Method in class classycle.graph.Vertex
-
Reset this vertex.
- Result - Interface in classycle.dependency
-
Common interface of all result checking statements.
- ResultContainer - Class in classycle.dependency
-
Container of
Result
instances. - ResultContainer() - Constructor for class classycle.dependency.ResultContainer
- ResultRenderer - Class in classycle.dependency
-
Renderer for dependency checks.
- ResultRenderer() - Constructor for class classycle.dependency.ResultRenderer
S
- setActive(boolean) - Method in class classycle.graph.StrongComponent
- setDefaultValueOfGraphVertexFlag(boolean) - Method in class classycle.graph.AtomicVertex
-
Sets the default value of graphVertex flag.
- setDefinitionFile(File) - Method in class classycle.ant.DependencyCheckingTask
- setExcludingClasses(String) - Method in class classycle.ant.ClassycleTask
- setFailOnUnwantedDependencies(boolean) - Method in class classycle.ant.DependencyCheckingTask
- setIncludingClasses(String) - Method in class classycle.ant.ClassycleTask
- setLongestWalk(int) - Method in class classycle.graph.StrongComponent
- setLow(int) - Method in class classycle.graph.AtomicVertex
-
Sets the current value of the low function.
- setMergeInnerClasses(boolean) - Method in class classycle.ant.ClassycleTask
- setOrder(int) - Method in class classycle.graph.AtomicVertex
-
Sets the order of visiting.
- setPackagesOnly(boolean) - Method in class classycle.ant.ReportTask
- setReflectionPattern(String) - Method in class classycle.ant.ClassycleTask
- setReportFile(File) - Method in class classycle.ant.ClassycleTask
- setReportType(String) - Method in class classycle.ant.ReportTask
- setResultRenderer(String) - Method in class classycle.ant.DependencyCheckingTask
- SETS_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- setTitle(String) - Method in class classycle.ant.ReportTask
- SHOW_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- ShowStatement - Class in classycle.dependency
- ShowStatement(ResultRenderer, Preference[]) - Constructor for class classycle.dependency.ShowStatement
- Statement - Interface in classycle.dependency
- STRICT_LAYERING_OF_KEY_WORD - Static variable in class classycle.dependency.DependencyDefinitionParser
- StringConstant - Class in classycle.classfile
-
Constant of a String value.
- StringConstant(Constant[], int) - Constructor for class classycle.classfile.StringConstant
-
Creates an instance for the specfied index.
- StringPattern - Interface in classycle.util
-
Interface for string pattern matching.
- StringPatternSequence - Class in classycle.util
-
Sequence of
StringPatterns
. - StringPatternSequence(StringPattern[]) - Constructor for class classycle.util.StringPatternSequence
- StrongComponent - Class in classycle.graph
-
A strong component is a subgraph of a directed graph where every two vertices are mutually reachable.
- StrongComponent() - Constructor for class classycle.graph.StrongComponent
-
Default constructor.
- StrongComponentAnalyser - Class in classycle.graph
-
Analyser of a directed graph for finding its strong components.
- StrongComponentAnalyser(AtomicVertex[]) - Constructor for class classycle.graph.StrongComponentAnalyser
-
Creates an instance for the specified graph.
- StrongComponentProcessor - Class in classycle.graph
-
A processor which extracts the strong components of a directed graph.
- StrongComponentProcessor(boolean) - Constructor for class classycle.graph.StrongComponentProcessor
-
Creates an instance.
- StrongComponentRenderer - Interface in classycle.renderer
-
Interface for rendering a
StrongComponent
.
T
- TemplateBasedClassRenderer - Class in classycle.renderer
-
Renderer of an
AtomicVertex
withClassAttributes
. - TemplateBasedClassRenderer(String) - Constructor for class classycle.renderer.TemplateBasedClassRenderer
-
Creates an instance for the specified template.
- TemplateBasedStrongComponentRenderer - Class in classycle.renderer
-
Renderer of a
StrongComponent
. - TemplateBasedStrongComponentRenderer(String, int) - Constructor for class classycle.renderer.TemplateBasedStrongComponentRenderer
-
Creates an instance for the specified template.
- Text - Class in classycle.util
-
Collection of useful static method concerning string manipulation.
- TextResult - Class in classycle.dependency
-
Result as a text.
- TextResult(String) - Constructor for class classycle.dependency.TextResult
-
Creates an instance with specified text which is ok.
- TextResult(String, boolean) - Constructor for class classycle.dependency.TextResult
-
Creates an instance with specified text and specified OK flag.
- toString() - Method in class classycle.ClassAttributes
-
Returns the attributes as a string for pretty printing.
- toString() - Method in class classycle.classfile.ClassConstant
-
Returns the constant type and the class name.
- toString() - Method in class classycle.classfile.DoubleConstant
-
Returns the constant type and the double value.
- toString() - Method in class classycle.classfile.FieldRefConstant
-
Returns constant type, class name, field name, and descriptor.
- toString() - Method in class classycle.classfile.FloatConstant
-
Returns the constant type and the float value.
- toString() - Method in class classycle.classfile.IntConstant
-
Returns the constant type and the int value.
- toString() - Method in class classycle.classfile.InterfaceMethodRefConstant
-
Returns constant type, class name, method name, and descriptor.
- toString() - Method in class classycle.classfile.InvokeDynamicConstant
-
Returns constant type and descriptor.
- toString() - Method in class classycle.classfile.LongConstant
-
Returns the constant type and the long value.
- toString() - Method in class classycle.classfile.MethodHandleConstant
-
Returns constant type, reference kind, and index.
- toString() - Method in class classycle.classfile.MethodRefConstant
-
Returns constant type, class name, method name, and descriptor.
- toString() - Method in class classycle.classfile.MethodTypeConstant
-
Returns constant type and descriptor.
- toString() - Method in class classycle.classfile.NameAndTypeConstant
-
Returns constant type, name, and descriptor.
- toString() - Method in class classycle.classfile.StringConstant
-
Returns the constant type and the string value.
- toString() - Method in class classycle.classfile.UTF8Constant
-
Returns the constant type and the wrapped string.
- toString() - Method in class classycle.dependency.CheckCyclesStatement
- toString() - Method in class classycle.dependency.CheckSetStatement
- toString() - Method in class classycle.dependency.CyclesResult
-
Returns the result in a human-readable form which is used by the
DefaultResultRenderer
. - toString() - Method in class classycle.dependency.DependencyResult
- toString() - Method in class classycle.dependency.DependencyStatement
- toString() - Method in class classycle.dependency.LayeringStatement
- toString() - Method in class classycle.dependency.PatternVertexCondition
- toString() - Method in class classycle.dependency.ResultContainer
- toString() - Method in class classycle.dependency.ShowStatement
- toString() - Method in class classycle.dependency.TextResult
-
Returns the text specified in the constructor.
- toString() - Method in class classycle.graph.StrongComponent
- toString() - Method in class classycle.graph.Vertex
-
Returns toString() of the attributes and the number of incoming and outgoing arcs.
- toString() - Method in class classycle.util.NotStringPattern
- toString() - Method in class classycle.util.StringPatternSequence
- toString() - Method in class classycle.util.TrueStringPattern
- toString() - Method in class classycle.util.WildCardPattern
-
Returns the pattern as delivered to the constructor.
- toString(String) - Method in class classycle.classfile.RefConstant
-
Pretty printing.
- TrueStringPattern - Class in classycle.util
-
String pattern which return true in any case.
- TrueStringPattern() - Constructor for class classycle.util.TrueStringPattern
- TYPE_CSV - Static variable in class classycle.ant.ReportTask
- TYPE_RAW - Static variable in class classycle.ant.ReportTask
- TYPE_XML - Static variable in class classycle.ant.ReportTask
U
- UNKNOWN - Static variable in class classycle.ClassAttributes
-
Type constant.
- UTF8Constant - Class in classycle.classfile
-
Constant of an arbitrary Unicode string.
- UTF8Constant(Constant[], String) - Constructor for class classycle.classfile.UTF8Constant
-
Creates an instance for the specified string.
V
- Vertex - Class in classycle.graph
-
The base class for any type of vertex in a directed graph.
- Vertex(Attributes) - Constructor for class classycle.graph.Vertex
-
Create a new instance for the specified attributes.
- VertexCondition - Interface in classycle.graph
-
Interface of classes which determine whether a
Vertex
fulfills a condition or not. - visit() - Method in class classycle.graph.Vertex
-
Marks this instance as visited.
W
- WildCardPattern - Class in classycle.util
-
Wildcard string pattern matching class.
- WildCardPattern(String) - Constructor for class classycle.util.WildCardPattern
-
Creates an instance based on the specified pattern.
X
- XMLAtomicVertexRenderer - Class in classycle.renderer
-
XML renderer of an
AtomicVertex
withNameAttributes
. - XMLAtomicVertexRenderer() - Constructor for class classycle.renderer.XMLAtomicVertexRenderer
- XMLClassRenderer - Class in classycle.renderer
-
XML renderer of an
AtomicVertex
withClassAttributes
. - XMLClassRenderer() - Constructor for class classycle.renderer.XMLClassRenderer
- XMLPackageRenderer - Class in classycle
-
XML renderer of an
AtomicVertex
withNameAttributes
. - XMLPackageRenderer() - Constructor for class classycle.XMLPackageRenderer
- XMLPackageStrongComponentRenderer - Class in classycle
- XMLPackageStrongComponentRenderer(int) - Constructor for class classycle.XMLPackageStrongComponentRenderer
- XMLResultRenderer - Class in classycle.dependency
-
Renderer which renders dependency checking results as XML.
- XMLResultRenderer() - Constructor for class classycle.dependency.XMLResultRenderer
- XMLStrongComponentRenderer - Class in classycle.renderer
-
XML renderer of a
StrongComponent
. - XMLStrongComponentRenderer(int) - Constructor for class classycle.renderer.XMLStrongComponentRenderer
-
Creates an instance for the specified minimum number vertices.
_
- _classFiles - Variable in class classycle.CommandLine
- _pattern - Variable in class classycle.CommandLine
- _patterns - Variable in class classycle.util.StringPatternSequence
- _reflectionPattern - Variable in class classycle.CommandLine
- _reportFile - Variable in class classycle.ant.ClassycleTask
- _shortestPaths - Variable in class classycle.dependency.ResultRenderer
- _valid - Variable in class classycle.CommandLine
All Classes All Packages