diff options
author | Shigeru Chiba <chibash@users.noreply.github.com> | 2017-11-12 15:45:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 15:45:25 +0900 |
commit | e1f0bba5de4dc03a9debfab333683f07cfbcb594 (patch) | |
tree | 9ef368fd89a76a6470c1c8d5fe9d96104e56f21e /src/main/javassist/compiler/ast/StringL.java | |
parent | e41e0790c0cb073e9e2e30071afecfcdc4621d42 (diff) | |
parent | e5656fc869ccc7f7b60a095e692c2475f7f130bf (diff) | |
download | javassist-e1f0bba5de4dc03a9debfab333683f07cfbcb594.tar.gz javassist-e1f0bba5de4dc03a9debfab333683f07cfbcb594.zip |
Merge pull request #160 from nickl-/squash-warnings
Source walk/Spring clean/Parameterize/Enhance/Squash warnings et.al.
Diffstat (limited to 'src/main/javassist/compiler/ast/StringL.java')
-rw-r--r-- | src/main/javassist/compiler/ast/StringL.java | 4 |
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); } } |