title: Guice: How to get instance of Singleton without injector or using Constructor Injection
body: <p>I have got an singleton class defined as:</p>
  
  <pre><code>@Singleton
  class MySingletonClass{
     ....
  }
  </code></pre>
  
  <p>I have another class which uses this singleton Class but this class has to be created using new operator. Thus I cannot use constructor injection or setter injection etc.</p>
  
  <pre><code>class MyClass {
     public void method() {
         // Uses instnace of MySingletonClass
     }
  }
  </code></pre>
  
  <p>I can certainly pass an instance of this into the constructor of MyClass but it does not quite a good design from the context of my program.</p>
  
  <p>Another solution will be to create an static getInstance method for MySingletonClass so that I can get instance from anywhere in the program. But I want to know if Guice supports anything similar to this? I am sure Guice can allow getting singleton instance anywhere.</p>
  
  <p>Many thanks.</p>