MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / get

Method get

UnLuac/src/unluac/parse/LConstantType.java:12–19  ·  view source on GitHub ↗
(Version.ConstantType type)

Source from the content-addressed store, hash-verified

10public abstract class LConstantType extends BObjectType<LObject> {
11
12 public static LConstantType get(Version.ConstantType type) {
13 switch(type) {
14 case LUA50: return new LConstantType50();
15 case LUA53: return new LConstantType53();
16 case LUA54: return new LConstantType54();
17 default: throw new IllegalStateException();
18 }
19 }
20
21}
22

Callers 4

VersionMethod · 0.95
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected