Package | Description |
---|---|
com.streamscape.lib.analyzer |
Modifier and Type | Method and Description |
---|---|
TypeGraph |
TypeGraph.getChild(java.lang.String childName)
Returns the child of the current node in the graph, which has the specified name
|
TypeGraph |
TypeGraphCreationStrategy.getGraphNode(TypeGraph node)
Processes the potential
node of the created
TypeGraph and returns it (or creates and returns another node
if necessary) for adding to this TypeGraph . |
TypeGraph |
AbstractSkipStaticFieldsStrategy.getGraphNode(TypeGraph node)
Skips all the static fields of the processed type
|
TypeGraph |
AbstractSkipStaticAndTransientFieldsStrategy.getGraphNode(TypeGraph node)
Skips all the static and transient fields of the processed type
|
TypeGraph |
TypeGraph.getNode(java.lang.String path)
Returns the node in the graph by its SDR path.
|
TypeGraph |
TypeGraph.getParent()
Returns the parent of the current node in the graph
|
TypeGraph |
TypeAnalyzer.getTypeGraph(java.lang.String path)
Creates a type graph (a tree) for the Java type located by the specified SDR path.
|
TypeGraph |
TypeAnalyzer.getTypeGraph(java.lang.reflect.Type type)
Creates a type graph (a tree) for the specified Java type.
|
TypeGraph |
TypeAnalyzer.getTypeGraph(java.lang.reflect.Type type,
java.lang.String path)
Creates a type graph (a tree) for the Java type, which is a child of the specified type,
located by the specified SDR path in this type.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeGraph.addChild(TypeGraph child)
Adds the specified child sub-tree to the current graph node
|
void |
TypeGraphXmlPrintVisitor.afterChildrenVisit(TypeGraph node,
int level)
Prints the end xml tag for the current node if it has children
|
void |
TypeGraphVisitor.afterChildrenVisit(TypeGraph node,
int level)
This method is called from
traverse(TypeGraphVisitor)
method after all the children of the specified node are
traversed together with subtrees. |
void |
TypeGraphPrintVisitor.afterChildrenVisit(TypeGraph node,
int level) |
void |
TypeGraphPrettyPrintVisitor.afterChildrenVisit(TypeGraph node,
int level) |
void |
TypeGraphJsonPrintVisitor.afterChildrenVisit(TypeGraph node,
int level) |
void |
TypeGraphJsonExtJSPrintVisitor.afterChildrenVisit(TypeGraph node,
int level)
Prints necessary symbols to mark the end of 'children' array and the current node.
|
TypeGraph |
TypeGraphCreationStrategy.getGraphNode(TypeGraph node)
Processes the potential
node of the created
TypeGraph and returns it (or creates and returns another node
if necessary) for adding to this TypeGraph . |
TypeGraph |
AbstractSkipStaticFieldsStrategy.getGraphNode(TypeGraph node)
Skips all the static fields of the processed type
|
TypeGraph |
AbstractSkipStaticAndTransientFieldsStrategy.getGraphNode(TypeGraph node)
Skips all the static and transient fields of the processed type
|
void |
TypeGraph.merge(java.lang.String path,
TypeGraph graphToMerge)
Merges the specified graph to the current graph node located by the specified SDR path.
|
void |
TypeGraph.setParent(TypeGraph parentNode)
Sets the parent of the current node in the graph
|
boolean |
TypeGraphCreationStrategy.shouldSkipChildren(TypeGraph node)
Returns true if the specified node should be a leaf node in the created type graph and its
children should not be created.
|
boolean |
AbstractSkipStaticFieldsStrategy.shouldSkipChildren(TypeGraph node)
Skips children for wrappers of primitives(
Byte, ..., Double ), enumerations,
String and Class types and arrays of primitives
(byte[], ..., double[] ), of wrappers (Byte[], ..., Double[] ),
of enumerations, of strings (String[] ) and of classes (Class[] ). |
boolean |
TypeGraphXmlPrintVisitor.visit(TypeGraph node,
int level)
Prints the start xml tag for the current node
|
boolean |
TypeGraphVisitor.visit(TypeGraph node,
int level)
This method is called from
traverse(TypeGraphVisitor)
method once for each traversed node of the
TypeGraph spanning tree. |
boolean |
TypeGraphPrintVisitor.visit(TypeGraph node,
int level)
Prints the current node of the tree including its modifiers, type and name
|
boolean |
TypeGraphPrettyPrintVisitor.visit(TypeGraph node,
int level)
Prints the current node of the tree in a pretty text format.
|
boolean |
TypeGraphJsonPrintVisitor.visit(TypeGraph node,
int level) |
boolean |
TypeGraphJsonExtJSPrintVisitor.visit(TypeGraph node,
int level)
Prints the current node in JSON format.
|
Constructor and Description |
---|
TypeGraph(java.lang.String fieldName,
java.lang.reflect.Type fieldType,
int fieldModifiers,
TypeGraph parentNode)
Creates a type graph node with the specified name, type, modifiers and parent node
|
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.