@Test public void testInvalid() { assertFalse(new Location().isValid()); }
public boolean isValid() { return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN; }
Location { public boolean isValid() { return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN; } }
Location { public boolean isValid() { return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN; } Location();  Location(Location other);  Location(Token start, Token end);  Location(ParserRuleContext context);  Location(int startLine, int startOffset, int endLine, int endOffset); }
Location { public boolean isValid() { return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN; } Location();  Location(Location other);  Location(Token start, Token end);  Location(ParserRuleContext context);  Location(int startLine, int startOffset, int endLine, int endOffset); @Override String toString(); void setParentLocation(Location parentLocation); @Override boolean equals(Object o); @Override int hashCode(); boolean isValid(); boolean contains(Location other); Location toAbsoluteLocation(); String toUserReadableString(); static Location fromUserReadableString(String str); LocationScopeProvider createScope(); }
Location { public boolean isValid() { return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN; } Location();  Location(Location other);  Location(Token start, Token end);  Location(ParserRuleContext context);  Location(int startLine, int startOffset, int endLine, int endOffset); @Override String toString(); void setParentLocation(Location parentLocation); @Override boolean equals(Object o); @Override int hashCode(); boolean isValid(); boolean contains(Location other); Location toAbsoluteLocation(); String toUserReadableString(); static Location fromUserReadableString(String str); LocationScopeProvider createScope(); static final int NaN; @XmlAttribute(name = "startLine")
    public int startLine; @XmlAttribute(name = "startOffset")
    public int startOffset; @XmlAttribute(name = "endLine")
    public int endLine; @XmlAttribute(name = "endOffset")
    public int endOffset; @XmlElement(name = "parentLocation")
    public Location parentLocation; }