Issue #1311: Add a test
Fix #1311 by making Invocation aware of erasure. In the longer term we should refactory how invocation an erasure/boxing are handled (see #1312).
ExpressionTransformer: removed ClassOrInterface.getvariableAttribute because it confuses users
Removed ClassOrInterface.getVariableAttribute because it confused users