blob: 38519f743b271d6d7d66b94372dbe1527c9a20b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package me.shedaniel.rei.api;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class REIPluginInfo {
public static Gson GSON = new GsonBuilder().create();
private List<REIPlugin> plugins;
public List<REIPlugin> getPlugins() {
return plugins;
}
public static class REIPlugin {
private String identifier;
@SerializedName("class") private String pluginClass;
public String getIdentifier() {
if (identifier == null)
return "null:null";
return identifier;
}
public String getPluginClass() {
return pluginClass;
}
}
}
|