private static List<Injection> getInjections(JClassType ctype, AngularGwtTypes types) {
List<Injection> injects = new ArrayList<Injection>();
for(JField field:ctype.getFields()) {
NgInjected injected = field.getAnnotation(NgInjected.class);
if(injected!=null) {
JClassType type = field.getType().isClassOrInterface();
Injection in = new Injection();
in.type = type;
in.localName = field.getName();