checkInjectables function

void checkInjectables(
  1. LibraryElement library
)

Implementation

void checkInjectables(LibraryElement library) {
  for (var unit in allUnits(library)) {
    for (var type in unit.classes) {
      checkClass(type);
      checkFunctions(type.methods);
    }

    checkFunctions(unit.functions);
  }
}