Package repast.simphony.ui.probe
Class ProbeIntrospector
java.lang.Object
repast.simphony.ui.probe.ProbeIntrospector
Introspect objects and creates ProbeInfo out of them.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProbeIntrospector
Gets the instance of the ProbeIntrospector.getProbeId
(Object probedObject) Gets the probe id for the specified object.getProbeInfo
(Class<?> probedObjectClass) Gets the ProbeInfo for the specified class.
-
Constructor Details
-
ProbeIntrospector
public ProbeIntrospector()
-
-
Method Details
-
getInstance
Gets the instance of the ProbeIntrospector.- Returns:
- the instance of the ProbeIntrospector.
-
getProbeInfo
Gets the ProbeInfo for the specified class.- Parameters:
probedObjectClass
- the class to get ProbeInfo for.- Returns:
- the ProbeInfo for the specified class.
- Throws:
IntrospectionException
- if there is getting the ProbeInfo.
-
getProbeId
Gets the probe id for the specified object. This will return the result of calling the method annotated with @ProbeId in specfied object, or the class name of the object if there is no- Parameters:
probedObject
-- Returns:
- the result of calling the method annotated with @ProbeId in specfied object, or the class name of the object if there is no
-