/* * Copyright (C) 2015 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package dagger.functional.sub; import dagger.Lazy; import dagger.functional.Generic; import dagger.functional.Generic2; import javax.inject.Inject; import javax.inject.Provider; public class Exposed { @Inject public PackagePrivate pp2; @Inject public Provider ppp2; @Inject public Lazy lpp2; @Inject public Provider> plpp2; @Inject public Generic2 gpp2; @Inject public Generic2 gppc2; @Inject public Provider> pgpp2; @Inject public Lazy> lgpp2; @Inject public Provider>> plgpp2; public PackagePrivate pp; public Provider ppp; public Lazy lpp; public Provider> plpp; public Generic gpp; public Generic gppc; public Provider> pgpp; public Lazy> lgpp; public Provider>> plgpp; /** Injects inaccessible dependencies to test casting of these dependency arguments. */ @Inject Exposed( PackagePrivate pp, Provider ppp, Lazy lpp, Provider> plpp, Generic gpp, Generic gppc, Provider> pgpp, Lazy> lgpp, Provider>> plgpp) { this.pp = pp; this.ppp = ppp; this.lpp = lpp; this.plpp = plpp; this.gpp = gpp; this.gppc = gppc; this.pgpp = pgpp; this.lgpp = lgpp; this.plgpp = plgpp; } }