// version 19:recordPoint(intx,inty){}recordRectangle(PointupperLeft,PointlowerRight){}publicclassRecordPattern{voidrecordPattern(Objecto){if(oinstanceofPoint(intx,inty)){}if(oinstanceofPoint(intx,inty)p){}if(oinstanceofRectangle(Point(intx1,inty1),Point(intx2,inty2))){}}}