added static getInstanceByAnnotation method to PointToEdge