Relating to casuistry (attempts to solve moral dilemmas by applying general rules).
Overly subtle, hair-splitting.
Being overly concerned with formal rules and trivial points of learning, like a pedant.
Being showy of one’s knowledge, often in a boring manner.