(Version.HeaderType type)
| 20 | public static final LHeaderType TYPE54 = new LHeaderType54(); |
| 21 | |
| 22 | public static LHeaderType get(Version.HeaderType type) { |
| 23 | switch(type) { |
| 24 | case LUA50: return TYPE50; |
| 25 | case LUA51: return TYPE51; |
| 26 | case LUA52: return TYPE52; |
| 27 | case LUA53: return TYPE53; |
| 28 | case LUA54: return TYPE54; |
| 29 | default: throw new IllegalStateException(); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | private static final byte[] luacTail = { |
| 34 | 0x19, (byte) 0x93, 0x0D, 0x0A, 0x1A, 0x0A, |
no outgoing calls
no test coverage detected