Package software.amazon.smithy.jmespath
Class ExpressionProblem
- java.lang.Object
-
- software.amazon.smithy.jmespath.ExpressionProblem
-
- All Implemented Interfaces:
java.lang.Comparable<ExpressionProblem>
public final class ExpressionProblem extends java.lang.Object implements java.lang.Comparable<ExpressionProblem>
Represents a problem detected by static analysis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpressionProblem.SeverityThe severity of the problem.
-
Field Summary
Fields Modifier and Type Field Description intcolumnThe column where the problem occurred.intlineThe line where the problem occurred.java.lang.StringmessageThe description of the problem.ExpressionProblem.SeverityseverityThe severity of the problem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ExpressionProblem o)booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
message
public final java.lang.String message
The description of the problem.
-
line
public final int line
The line where the problem occurred.
-
column
public final int column
The column where the problem occurred.
-
severity
public final ExpressionProblem.Severity severity
The severity of the problem.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ExpressionProblem o)
- Specified by:
compareToin interfacejava.lang.Comparable<ExpressionProblem>
-
-