aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/StringL.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/compiler/ast/StringL.java')
-rw-r--r--src/main/javassist/compiler/ast/StringL.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/javassist/compiler/ast/StringL.java b/src/main/javassist/compiler/ast/StringL.java
index f52186e5..7c7e00c3 100644
--- a/src/main/javassist/compiler/ast/StringL.java
+++ b/src/main/javassist/compiler/ast/StringL.java
@@ -22,6 +22,8 @@ import javassist.compiler.CompileError;
* String literal.
*/
public class StringL extends ASTree {
+ /** default serialVersionUID */
+ private static final long serialVersionUID = 1L;
protected String text;
public StringL(String t) {
@@ -30,7 +32,9 @@ public class StringL extends ASTree {
public String get() { return text; }
+ @Override
public String toString() { return "\"" + text + "\""; }
+ @Override
public void accept(Visitor v) throws CompileError { v.atStringL(this); }
}