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