Searched refs:EnergySource (Results 1 – 6 of 6) sorted by relevance
23 class EnergySourceProvider implements Provider<EnergySource> {24 @Inject void setSources(@Nuclear EnergySource nuclear, @Renewable EnergySource renewable) {} in setSources()29 public EnergySource get() { in get()
36 bind(EnergySource.class).annotatedWith(Nuclear.class).to(Plutonium.class); in configure()37 bind(EnergySource.class).annotatedWith(Renewable.class).to(Lightning.class); in configure()49 public FluxCapacitor provideFluxCapacitor(EnergySource energySource) { in provideFluxCapacitor()
19 class Plutonium implements EnergySource {}
22 interface EnergySource {} interface
22 class Lightning implements EnergySource {
30 public void setEnergySource(EnergySource energySource) {} in setEnergySource()