WINDUP-244: Port Brad's JavaClass Visitor to Windup 2.x