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