(Version.UpvalueType type)
| 9 | public abstract class LUpvalueType extends BObjectType<LUpvalue> { |
| 10 | |
| 11 | public static LUpvalueType get(Version.UpvalueType type) { |
| 12 | switch(type) { |
| 13 | case LUA50: return new LUpvalueType50(); |
| 14 | case LUA54: return new LUpvalueType54(); |
| 15 | default: throw new IllegalStateException(); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | } |
| 20 |