1 package com.puppycrawl.tools.checkstyle.checks.naming.membername; 2 3 4 5 6 public class InputMemberNameExtended 7 { 8 public int mPublic; 9 protected int mProtected; 10 int mPackage; 11 private int mPrivate; 12 13 public int _public; 14 protected int _protected; 15 int _package; 16 private int _private; 17 18 class Inner { 19 public int mPublic; 20 protected int mProtected; 21 int mPackage; 22 private int mPrivate; 23 24 public int _public; 25 protected int _protected; 26 int _package; 27 private int _private; 28 } 29 30 Inner anon = new Inner() { 31 public int mPublic; 32 protected int mProtected; 33 int mPackage; 34 private int mPrivate; 35 36 public int _public; 37 protected int _protected; 38 int _package; 39 private int _private; 40 }; 41 } 42 43 interface In 44 { 45 public int mPublic = 0; 46 int mProtected = 0; 47 int mPackage = 0; 48 int mPrivate = 0; 49 50 public int _public = 0; 51 int _protected = 0; 52 int _package = 0; 53 int _private = 0; 54 } 55 56 enum Direction { 57 58 NORTH(1), 59 SOUTH(-1), 60 EAST(-2), 61 WEST(2); 62 63 public int mPublic = 0; 64 int mProtected = 0; 65 int mPackage = 0; 66 int mPrivate = 0; 67 68 public int _public = 0; 69 int _protected = 0; 70 int _package = 0; 71 int _private = 0; 72 73 Direction(int code){ 74 this.code=code; 75 } 76 protected int code; 77 public int getCode() { 78 return this.code; 79 } 80 static Direction getOppositeDirection(Direction d){ 81 return null; 82 } 83 }