MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / read

Method read

src/me/lpk/mapping/loaders/SRGLoader.java:50–58  ·  view source on GitHub ↗

Returns a map of MappedClasses based on the nodes given in the constructor and the mapping file read through the parameter. @param in FileReader of the SRG mappings file @return

(FileReader in)

Source from the content-addressed store, hash-verified

48 * @return
49 */
50 @Override
51 public Map<String, MappedClass> read(FileReader in) {
52 try {
53 return read(new BufferedReader(in));
54 } catch (Exception e) {
55 e.printStackTrace();
56 }
57 return null;
58 }
59
60 /**
61 * Reads each line in a reader and parses mappings from the SRG format.

Callers 1

mappingsFromSRGMethod · 0.95

Calls 8

getFieldNodeMethod · 0.95
getNodeMethod · 0.95
addFieldMethod · 0.95
getMethodNodeMethod · 0.95
addMethodMethod · 0.95
fakeNodeMethod · 0.80
setNewNameMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected