Package | Description |
---|---|
com.streamscape.lib.analyzer | |
com.streamscape.sdo.utils |
Modifier and Type | Method and Description |
---|---|
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
TypeGraph.traverse(TypeGraphVisitor)
method after all the children of the specified node are
traversed together with subtrees. |
void |
TypeGraphPrintVisitor.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.
|
java.lang.Class |
TypeAnalyzer.getClassBySemanticType(java.lang.String semanticType)
Looks up for the specified semantic type in the semantic type cache, gets its full Java class
name, loads this class and returns it.
|
java.lang.reflect.Field |
TypeAnalyzer.getField(java.lang.reflect.Type type,
java.lang.String path)
Returns the Java field referenced by the specified SDRPath.
|
java.lang.Class |
TypeAnalyzer.getFieldClass(java.lang.String path)
Returns the Java class of the field located by the specified SDR path.
|
java.lang.Class |
TypeAnalyzer.getFieldClass(java.lang.String typeName,
java.lang.String path)
Returns the Java type of the field located by the specified SDR path in the specified
semantic type.
|
java.lang.Class |
TypeAnalyzer.getFieldClass(java.lang.reflect.Type type,
java.lang.String path)
Returns the Java class of the field located by the specified SDR path in the specified Java
type.
|
java.lang.reflect.Type |
TypeAnalyzer.getFieldType(java.lang.String path)
Returns the Java type of the field located by the specified SDR path.
|
java.lang.reflect.Type |
TypeAnalyzer.getFieldType(java.lang.reflect.Type type,
java.lang.String path)
Returns the Java type of the field located by the specified SDR path in the specified
type.
|
java.lang.String |
TypeAnalyzer.getFieldTypeAsString(java.lang.String path)
Returns the class name of the field located by the specified SDR path.
|
java.lang.String |
TypeAnalyzer.getFieldTypeAsString(java.lang.reflect.Type type,
java.lang.String path)
Returns the class name of the field located by the specified SDR path in the specified Java
type.
|
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 |
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.
|
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.
|
void |
TypeGraph.traverse(TypeGraphVisitor visitor)
Traverses the type graph and applies the specified visitor to each traversed node
|
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
TypeGraph.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.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
SDOUtils.findSDOElements(java.lang.Object object,
java.lang.String regex,
java.lang.String pathPrefix,
ReferencePathManager sdrManager,
TypeAnalyzer typeAnalyzer) |
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.