Package software.amazon.smithy.jmespath
Class LinterResult
- java.lang.Object
-
- software.amazon.smithy.jmespath.LinterResult
-
public final class LinterResult extends java.lang.Object
Contains the result ofJmespathExpression.lint()
.
-
-
Constructor Summary
Constructors Constructor Description LinterResult(RuntimeType returnType, java.util.Set<ExpressionProblem> problems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Set<ExpressionProblem>
getProblems()
Gets the set of problems in the expression.RuntimeType
getReturnType()
Gets the statically known return type of the expression.int
hashCode()
-
-
-
Constructor Detail
-
LinterResult
public LinterResult(RuntimeType returnType, java.util.Set<ExpressionProblem> problems)
-
-
Method Detail
-
getReturnType
public RuntimeType getReturnType()
Gets the statically known return type of the expression.- Returns:
- Returns the return type of the expression.
-
getProblems
public java.util.Set<ExpressionProblem> getProblems()
Gets the set of problems in the expression.- Returns:
- Returns the detected problems.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-