| 7 | public class Parcel5 { |
| 8 | public Destination destination(String s) { |
| 9 | final class PDestination implements Destination { |
| 10 | private String label; |
| 11 | private PDestination(String whereTo) { |
| 12 | label = whereTo; |
| 13 | } |
| 14 | @Override |
| 15 | public String readLabel() { return label; } |
| 16 | } |
| 17 | return new PDestination(s); |
| 18 | } |
| 19 | public static void main(String[] args) { |
nothing calls this directly
no outgoing calls
no test coverage detected