You can make this Path[] and IPath[] array and put it at the top of this file and make the array private static final.  No need for a method as this doesn't change.