| 5 | import java.util.List; |
| 6 | |
| 7 | public class Pojo { |
| 8 | final String name; |
| 9 | final int age; |
| 10 | |
| 11 | public Pojo(String name, int age) { |
| 12 | this.name = name; |
| 13 | this.age = age; |
| 14 | } |
| 15 | |
| 16 | public String getName() { |
| 17 | return name; |
| 18 | } |
| 19 | |
| 20 | public int getAge() { |
| 21 | return age; |
| 22 | } |
| 23 | |
| 24 | public Integer getHeight() { |
| 25 | return null; |
| 26 | } |
| 27 | |
| 28 | public List<String> getOtherNames() { |
| 29 | return ImmutableList.of("A", "B"); |
| 30 | } |
| 31 | |
| 32 | protected String protectedLevelMethod() { |
| 33 | return "protectedLevelMethod"; |
| 34 | } |
| 35 | |
| 36 | private String privateLevelMethod() { |
| 37 | return "privateLevelMethod"; |
| 38 | } |
| 39 | |
| 40 | String packageLevelMethod() { |
| 41 | return "packageLevelMethod"; |
| 42 | } |
| 43 | |
| 44 | public boolean getInteresting() { |
| 45 | return false; |
| 46 | } |
| 47 | |
| 48 | public boolean isInteresting() { |
| 49 | return true; |
| 50 | } |
| 51 | |
| 52 | public Boolean getAlone() { |
| 53 | return true; |
| 54 | } |
| 55 | |
| 56 | public Boolean getBooleanAndNullish() { |
| 57 | return null; |
| 58 | } |
| 59 | |
| 60 | public String get() { |
| 61 | return "get"; |
| 62 | } |
| 63 | |
| 64 | public String is() { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…