(Version.StringType type)
| 10 | public abstract class LStringType extends BObjectType<LString> { |
| 11 | |
| 12 | public static LStringType get(Version.StringType type) { |
| 13 | switch(type) { |
| 14 | case LUA50: return new LStringType50(); |
| 15 | case LUA53: return new LStringType53(); |
| 16 | case LUA54: return new LStringType54(); |
| 17 | default: throw new IllegalStateException(); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | protected ThreadLocal<StringBuilder> b = new ThreadLocal<StringBuilder>() { |
| 22 |