aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/StringL.java
diff options
context:
space:
mode:
authorShigeru Chiba <chibash@users.noreply.github.com>2017-11-12 15:45:25 +0900
committerGitHub <noreply@github.com>2017-11-12 15:45:25 +0900
commite1f0bba5de4dc03a9debfab333683f07cfbcb594 (patch)
tree9ef368fd89a76a6470c1c8d5fe9d96104e56f21e /src/main/javassist/compiler/ast/StringL.java
parente41e0790c0cb073e9e2e30071afecfcdc4621d42 (diff)
parente5656fc869ccc7f7b60a095e692c2475f7f130bf (diff)
downloadjavassist-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.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); }
}