SHARE
TWEET

Untitled

a guest Sep 15th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ActivityScope
  2. public class Smoker {
  3.     private Cigarette cigarette;
  4.     private Person person;
  5.  
  6.     @Inject
  7.     public Smoker(Person person, Cigarette cigarette) {
  8.         this.person = person;
  9.         this.cigarette = cigarette;
  10.     }
  11.  
  12.     @Inject
  13.     public void clearTrash(Garbage garbage){
  14.         garbage.clearGarbage();
  15.     }
  16.  
  17.     public void smoke() {
  18.         Log.d("ONUR", person + "Smoke" + this);
  19.     }
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top