...
- Returning
thisfrom a nonprivate (possiblyfinal) method called invoked from the constructor - Passing
thisas an argument to an alien method called invoked from the constructor - Publishing
thisfrom the constructor of an object under construction - Publishing
thissuch that pieces of code beyond its current scope can obtain its reference - Calling a non-final method from a constructor (MET04-J. Ensure that constructors do not call overridable methods)
- Overriding the finalizer of a non-final class and obtaining the
thisreference of a partially constructed instance, when the construction of the object ceases (OBJ04-J. Do not allow partially initialized objects to be accessed) - Passing internal object state to an alien method and consequently, exposing the
thisreference of internal objects
...