[LOGTOOL-80] Use the canonical name for arrays and inner classes when di...

...rectly referencing a class. The issue was introduced with the LOGTOOL-51 fix.