Added nested class detection to BaseVisitor.isTightlyCoupled(..)