Class TracerHelper
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.tracing.TracerHelper
-
class TracerHelper extends java.lang.ObjectHelper methods for the tracers.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<TypeDescriptor<?>>EXCLUDED_TYPESThe types excluded from tracing.
-
Constructor Summary
Constructors Modifier Constructor Description privateTracerHelper()Prevents external creation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.StringtoString(java.lang.Object object, boolean quote)Turns an object into a string.(package private) static booleantrace(OperationDescriptor descriptor)Returns whether the givendescriptorshall be traced.
-
-
-
Field Detail
-
EXCLUDED_TYPES
private static final java.util.Set<TypeDescriptor<?>> EXCLUDED_TYPES
The types excluded from tracing.
-
-
Method Detail
-
trace
static boolean trace(OperationDescriptor descriptor)
Returns whether the givendescriptorshall be traced.- Parameters:
descriptor- the descriptor to be traced- Returns:
trueif the descriptor shall be traced,falseelse
-
toString
static java.lang.String toString(java.lang.Object object, boolean quote)Turns an object into a string.- Parameters:
object- the object to be turned into a stringquote- whether a string shall be quoted- Returns:
- the string representation using
StringValueHelper.getStringValue(Object, net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider.StringComparator)
-
-