Class ParameterMatcher

java.lang.Object
org.tudalgo.algoutils.reflect.IdentifierMatcher
org.tudalgo.algoutils.reflect.ParameterMatcher

@Deprecated(since="0.7.0", forRemoval=true) public class ParameterMatcher extends IdentifierMatcher
Deprecated, for removal: This API element is subject to removal in a future version.
A parameter matcher based on IdentifierMatcher. This class is deprecated and will be removed in a future release. Use the new API located in the org.tudalgo.algoutils.tutor.general.reflections package instead.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    The indicator whether to also match subtypes derived from parameterType.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The expected parameter type.

    Fields inherited from class org.tudalgo.algoutils.reflect.IdentifierMatcher

    identifierName, packageName, similarity
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParameterMatcher(Class<?> parameterType)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs and initializes an attribute matcher to match the specified attribute.
    ParameterMatcher(Class<?> parameterType, boolean allowSubTypes)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs and initializes an attribute matcher to match the specified attribute.
    ParameterMatcher(String identifierName, double similarity, Class<?> parameterType)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs and initializes an attribute matcher to match the specified attribute.
    ParameterMatcher(String identifierName, double similarity, Class<?> parameterType, boolean allowSubTypes)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs and initializes an attribute matcher to match the specified attribute.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • parameterType

      public Class<?> parameterType
      Deprecated, for removal: This API element is subject to removal in a future version.
      The expected parameter type.
    • allowSubTypes

      public boolean allowSubTypes
      Deprecated, for removal: This API element is subject to removal in a future version.
      The indicator whether to also match subtypes derived from parameterType.
  • Constructor Details

    • ParameterMatcher

      public ParameterMatcher(String identifierName, double similarity, Class<?> parameterType, boolean allowSubTypes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs and initializes an attribute matcher to match the specified attribute.
      Parameters:
      identifierName - the identifier name to match
      similarity - the minimum required similarity
      parameterType - the expected parameter type
      allowSubTypes - the indicator whether to also match subtypes derived from parameterType
    • ParameterMatcher

      public ParameterMatcher(String identifierName, double similarity, Class<?> parameterType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs and initializes an attribute matcher to match the specified attribute.
      Parameters:
      identifierName - the identifier name to match
      similarity - the minimum required similarity
      parameterType - the expected parameter type
    • ParameterMatcher

      public ParameterMatcher(Class<?> parameterType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs and initializes an attribute matcher to match the specified attribute.
      Parameters:
      parameterType - the expected parameter type
    • ParameterMatcher

      public ParameterMatcher(Class<?> parameterType, boolean allowSubTypes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs and initializes an attribute matcher to match the specified attribute.
      Parameters:
      parameterType - the expected parameter type
      allowSubTypes - the indicator whether to also match subtypes derived from parameterType