View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   public class InputIndentationChainedMethods { //indent:0 exp:0
4   
5       public static void main(String [] args) { //indent:4 exp:4
6           MockRDD mockRDD = new MockRDD(); //indent:8 exp:8
7           mockRDD.mapToPair( //indent:8 exp:8
8               null //indent:12 exp:12
9           ).saveAsHadoopFile(  //indent:8 exp:8
10              null //indent:12 exp:12
11          );  //indent:8 exp:8
12      }  //indent:4 exp:4
13  
14      private static class MockRDD { //indent:4 exp:4
15  
16          public MockRDD mapToPair(Object arg) { //indent:8 exp:8
17              return this; //indent:12 exp:12
18          } //indent:8 exp:8
19  
20          public MockRDD saveAsHadoopFile(Object... args) { //indent:8 exp:8
21              return this; //indent:12 exp:12
22          } //indent:8 exp:8
23  
24      } //indent:4 exp:4
25  } //indent:0 exp:0