(1) Any person subject to this code who attempts or offers with unlawful force or violence to do bodily harm to another person, whether or not the attempt or offer is consummated, is guilty of assault and shall be punished as a court-martial directs.
(2) Any person subject to this code who commits an assault with a dangerous weapon or other means or force likely to produce death or grievous bodily harm or commits an assault and intentionally inflicts grievous bodily harm with or without a weapon is guilty of aggravated assault and shall be punished as a court-martial directs.