code: public SimpleFeature convertDwgText( String typeName, String layerName, DwgText text, int id ) {
          Point2D pto = text.getInsertionPoint();
          Coordinate coord = new Coordinate(pto.getX(), pto.getY(), 0.0);
          String textString = text.getText();
  
          return createPointTextFeature(typeName, layerName, id, coord, textString);
      }
docs: Builds a point feature from a dwg text.