Class IdentifierMatcher

java.lang.Object
org.tudalgo.algoutils.reflect.IdentifierMatcher
Direct Known Subclasses:
AttributeMatcher, ParameterMatcher

public class IdentifierMatcher extends Object
An identifier Matcher.
  • Field Details

    • identifierName

      public String identifierName
      The name to match.
    • packageName

      public String packageName
      The package name.
    • similarity

      public double similarity
      The minimum required similarity.
  • Constructor Details

    • IdentifierMatcher

      public IdentifierMatcher(String identifierName, String packageName, double similarity)
      Constructs and initializes an identifier matcher to match the specified identifier.
      Parameters:
      identifierName - the identifier to match
      packageName - the package name
      similarity - the minimum required similarity
    • IdentifierMatcher

      public IdentifierMatcher(String identifierName, double similarity)
      Constructs and initializes an identifier matcher to match the specified identifier.
      Parameters:
      identifierName - the identifier to match
      similarity - the minimum required similarity