Class ImportStatement

java.lang.Object
de.ikor.sip.foundation.mvnplugin.model.ImportStatement

public final class ImportStatement extends Object
Represents an import statement that has been discovered while parsing a source file.
  • Constructor Details

    • ImportStatement

      public ImportStatement(String importName, int line, boolean staticImport)
  • Method Details

    • getLine

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

      public String getImportName()
      Returns the import name including the 'static ' prefix if this represents a static import.
      Returns:
      The full import name.