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

Method get

UnLuac/src/unluac/parse/LUpvalueType.java:11–17  ·  view source on GitHub ↗
(Version.UpvalueType type)

Source from the content-addressed store, hash-verified

9public 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

Callers 3

VersionMethod · 0.95
parseMethod · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected