Interface Target

All Known Implementing Classes:
BasicTarget, ExtendedTarget, JavaBeanTarget, JTreeTarget, ListTarget, ReflectionTarget, SerializableTarget, StringTarget, UserDefinedClassTarget

public interface Target
Deprecated.
As of 1.4.9 use JMH instead
Provides a target object to use in the metric. This could be a very small object or a large complicated graph. Also used to test if the object is equal to another instance (as some object's don't provide sensible equals() methods.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEqual(Object other)
    Deprecated.
    Check whether the object for this target is equal to another one.
    Deprecated.
    The target to use in the metric.
  • Method Details

    • target

      Object target()
      Deprecated.
      The target to use in the metric.
    • isEqual

      boolean isEqual(Object other)
      Deprecated.
      Check whether the object for this target is equal to another one.