Package org.tudalgo.algoutils.reflect
Class AttributeMatcher
java.lang.Object
org.tudalgo.algoutils.reflect.IdentifierMatcher
org.tudalgo.algoutils.reflect.AttributeMatcher
Deprecated, for removal: This API element is subject to removal in a future version.
An attribute 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 super implementations.intDeprecated, for removal: This API element is subject to removal in a future version.The expected access modifier.Class<?>Deprecated, for removal: This API element is subject to removal in a future version.The expected attribute type.Fields inherited from class org.tudalgo.algoutils.reflect.IdentifierMatcher
identifierName, packageName, similarity -
Constructor Summary
ConstructorsConstructorDescriptionAttributeMatcher(String name, double similarity, int modifier, Class<?> type) 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 with no super implementation match.AttributeMatcher(String name, double similarity, int modifier, Class<?> type, boolean allowSuperClass) 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.AttributeMatcher(String name, double similarity, Class<?> type) 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 with no super implementation match.AttributeMatcher(String name, double similarity, Class<?> type, boolean allowSuperClass) 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
-
modifier
public int modifierDeprecated, for removal: This API element is subject to removal in a future version.The expected access modifier. -
type
Deprecated, for removal: This API element is subject to removal in a future version.The expected attribute type. -
allowSuperClass
public boolean allowSuperClassDeprecated, for removal: This API element is subject to removal in a future version.The indicator whether to also match super implementations.
-
-
Constructor Details
-
AttributeMatcher
public AttributeMatcher(String name, double similarity, int modifier, Class<?> type, boolean allowSuperClass) 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:
name- the attribute name to matchsimilarity- the minimum required similaritymodifier- the expected access modifiertype- the expected attribute typeallowSuperClass- the indicator whether to also match super implementations
-
AttributeMatcher
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 with no super implementation match.- Parameters:
name- the attribute name to matchsimilarity- the minimum required similaritymodifier- the expected access modifiertype- the expected attribute type
-
AttributeMatcher
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:
name- the attribute name to matchsimilarity- the minimum required similaritytype- the expected attribute typeallowSuperClass- the indicator whether to also match super implementations
-
AttributeMatcher
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 with no super implementation match.- Parameters:
name- the attribute name to matchsimilarity- the minimum required similaritytype- the expected attribute type
-