Class MatchedImport


  • public final class MatchedImport
    extends Object
    Represents a single match of a banned import within a java source file.
    Author:
    Simon Taddiken
    • Method Detail

      • getImportLine

        public int getImportLine()
        The physical line within the source file in which the import has been matched. Number is always 1-based!
        Returns:
        The line number of the matched imports.
      • getMatchedString

        public String getMatchedString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object