Class FieldMatcher

    • Constructor Summary

      Constructors 
      Constructor Description
      FieldMatcher​(java.lang.String name)  
      FieldMatcher​(java.lang.String name, java.lang.String type)  
      FieldMatcher​(java.lang.String name, java.lang.String type, java.lang.String role)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(BugInstance bugInstance)
      Determine whether or not the given BugInstance has the feature this Matcher tests for.
      java.lang.String toString()  
      void writeXML​(XMLOutput xmlOutput, boolean disabled)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FieldMatcher

        public FieldMatcher​(java.lang.String name)
      • FieldMatcher

        public FieldMatcher​(java.lang.String name,
                            java.lang.String type)
      • FieldMatcher

        public FieldMatcher​(java.lang.String name,
                            java.lang.String type,
                            java.lang.String role)
    • Method Detail

      • match

        public boolean match​(BugInstance bugInstance)
        Description copied from interface: Matcher
        Determine whether or not the given BugInstance has the feature this Matcher tests for.
        Specified by:
        match in interface Matcher
        Parameters:
        bugInstance - the BugInstance
        Returns:
        true if the BugInstance matches, false if not
      • writeXML

        public void writeXML​(XMLOutput xmlOutput,
                             boolean disabled)
                      throws java.io.IOException
        Specified by:
        writeXML in interface Matcher
        Throws:
        java.io.IOException