Class ComponentTracker.Location

java.lang.Object
com.vaadin.flow.component.internal.ComponentTracker.Location
All Implemented Interfaces:
Serializable
Enclosing class:
ComponentTracker

public static class ComponentTracker.Location extends Object implements Serializable
Represents a location in the source code.
See Also:
  • Constructor Details

    • Location

      public Location(String className, String filename, String methodName, int lineNumber)
  • Method Details

    • className

      public String className()
    • filename

      public String filename()
    • methodName

      public String methodName()
    • lineNumber

      public int lineNumber()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • findJavaFile

      public File findJavaFile(AbstractConfiguration configuration)
      Finds the Java file this location refers to.
      Parameters:
      configuration - the application configuration
      Returns:
      the Java file the location refers to, or null
    • toString

      public String toString()
      Overrides:
      toString in class Object