Class AbstractSuppressIntrospector
java.lang.Object
nl.tudelft.simulation.introspection.AbstractSuppressIntrospector
- All Implemented Interfaces:
Introspector
The AbstractSupressIntrospector.
Copyright (c) 2002-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
- Since:
- 1.5
- Author:
- Peter Jacobs , Alexander Verbraeck, Niels Lang.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for AbstractSuppressIntrospector. -
Method Summary
Modifier and TypeMethodDescriptionProperty[]getProperties(Object arg0) getProperty(Object arg0, String arg1) Retrieves the {see Property}with a given name from an introspected object.String[]getPropertyNames(Object arg0) Retrieves the names of the properties of the introspected object.protected booleanMethod suppress.protected abstract booleanMethod suppress.
-
Field Details
-
parent
the parent introspector.
-
-
Constructor Details
-
AbstractSuppressIntrospector
Constructor for AbstractSuppressIntrospector.- Parameters:
parent- the parent introspector
-
-
Method Details
-
getProperties
- Specified by:
getPropertiesin interfaceIntrospector- Parameters:
arg0- the introspected object- Returns:
- Retrieves properties of the introspected object. The properties' values can themselves be introspectable. An empty array is returned if no introspected object has been set.
-
getPropertyNames
Description copied from interface:IntrospectorRetrieves the names of the properties of the introspected object.- Specified by:
getPropertyNamesin interfaceIntrospector- Parameters:
arg0- The introspected object.- Returns:
- An unordered array of the introspected object's property names.
-
getProperty
Description copied from interface:IntrospectorRetrieves the {see Property}with a given name from an introspected object.- Specified by:
getPropertyin interfaceIntrospector- Parameters:
arg0- The introspected object.arg1- The name of the property to be retrieved- Returns:
- A {see Property}instance for the given object and property name.
-
suppress
Method suppress.- Parameters:
type- the type of the class- Returns:
- boolean whether to supress
-
suppress
Method suppress.- Parameters:
propertyName- the propertyName- Returns:
- whether to supress
-