Define getter methods for the public fields on `JSError`.
@@ -30,12 +30,24 @@ public final class JSError implements Serializable {
/** Description of the error */
public final String description;
+ public String getDescription() {
+ return description;
+ }
+
/** Name of the source */
public final String sourceName;
+ public String getSourceName() {
+ return sourceName;
+ }
+
/** Node where the warning occurred. */
public final Node node;
+ public Node getNode() {
+ return node;
+ }
+
/** Line number of the source */
public final int lineNumber;
