View Javadoc
1   package integrationTests;
2   
3   import java.util.concurrent.locks.ReentrantReadWriteLock;
4   
5   /**
6    * The Class ClassWithReferenceToNestedClass.
7    */
8   public final class ClassWithReferenceToNestedClass {
9   
10      /**
11       * Instantiates a new class with reference to nested class.
12       */
13      ClassWithReferenceToNestedClass() {
14          new ReentrantReadWriteLock().readLock();
15      }
16  
17      /**
18       * Do something.
19       *
20       * @return true, if successful
21       */
22      public static boolean doSomething() {
23          return true;
24      }
25  }