public abstract class AbstractSkipStaticFieldsStrategy extends java.lang.Object implements TypeGraphCreationStrategy
Title: Framework Support Library
Description: A strategy class, which is used to skip all the static fields and do not parse deeper into primitives' arrays (byte[], ..., double[]) and primitives' wrappers(Byte, ..., Double), enumerations, String, Class types and its arrays.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
Constructor and Description |
---|
AbstractSkipStaticFieldsStrategy() |
Modifier and Type | Method and Description |
---|---|
TypeGraph |
getGraphNode(TypeGraph node)
Skips all the static fields of the processed type
|
boolean |
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[] ). |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldIncludeParentTypes
public TypeGraph getGraphNode(TypeGraph node)
getGraphNode
in interface TypeGraphCreationStrategy
node
- The potential node to be added to the created
TypeGraph
after processing by this strategy.TypeGraph
or null
if no node should be added.public boolean shouldSkipChildren(TypeGraph node)
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[]
).shouldSkipChildren
in interface TypeGraphCreationStrategy
node
- The node which children can be skippedCopyright © 2015-2024 StreamScape Technologies. All rights reserved.