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 class
ExpressionProblem.Severity
The severity of the problem.
-
Field Summary
Fields Modifier and Type Field Description int
column
The column where the problem occurred.int
line
The line where the problem occurred.java.lang.String
message
The description of the problem.ExpressionProblem.Severity
severity
The severity of the problem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ExpressionProblem o)
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ExpressionProblem o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ExpressionProblem>
-
-