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