Package org.tudalgo.algoutils.reflect
Class ParameterMatcher
java.lang.Object
org.tudalgo.algoutils.reflect.IdentifierMatcher
org.tudalgo.algoutils.reflect.ParameterMatcher
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
FieldsModifier and TypeFieldDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.The indicator whether to also match subtypes derived fromparameterType.Class<?>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
ConstructorsConstructorDescriptionParameterMatcher(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
-
Field Details
-
parameterType
Deprecated, for removal: This API element is subject to removal in a future version.The expected parameter type. -
allowSubTypes
public boolean allowSubTypesDeprecated, for removal: This API element is subject to removal in a future version.The indicator whether to also match subtypes derived fromparameterType.
-
-
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 matchsimilarity- the minimum required similarityparameterType- the expected parameter typeallowSubTypes- the indicator whether to also match subtypes derived fromparameterType
-
ParameterMatcher
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 matchsimilarity- the minimum required similarityparameterType- the expected parameter type
-
ParameterMatcher
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
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 typeallowSubTypes- the indicator whether to also match subtypes derived fromparameterType
-