Package org.tudalgo.algoutils.reflect
Class IdentifierMatcher
java.lang.Object
org.tudalgo.algoutils.reflect.IdentifierMatcher
- Direct Known Subclasses:
AttributeMatcher,ParameterMatcher
An identifier Matcher.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name to match.The package name.doubleThe minimum required similarity. -
Constructor Summary
ConstructorsConstructorDescriptionIdentifierMatcher(String identifierName, double similarity) Constructs and initializes an identifier matcher to match the specified identifier.IdentifierMatcher(String identifierName, String packageName, double similarity) Constructs and initializes an identifier matcher to match the specified identifier. -
Method Summary
-
Field Details
-
identifierName
The name to match. -
packageName
The package name. -
similarity
public double similarityThe minimum required similarity.
-
-
Constructor Details
-
IdentifierMatcher
Constructs and initializes an identifier matcher to match the specified identifier.- Parameters:
identifierName- the identifier to matchpackageName- the package namesimilarity- the minimum required similarity
-
IdentifierMatcher
Constructs and initializes an identifier matcher to match the specified identifier.- Parameters:
identifierName- the identifier to matchsimilarity- the minimum required similarity
-