Exemple #1
0
 public <T> T typeSafeGet(Class<T> cls, String string) {
   return typeSafeGet(Key.get(cls, Names.named(string)));
 }
Exemple #2
0
 public <T> void add(Class<T> cls, String string, T value) {
   add(new Attribute<T>(Key.get(cls, Names.named(string)), value));
 }
Exemple #3
0
 public <T> T typeSafeGet(Class<T> cls) {
   return typeSafeGet(Key.get(cls));
 }
Exemple #4
0
 public <T> void add(Class<T> cls, T value) {
   add(new Attribute<T>(Key.get(cls), value));
 }