STS-3878 Fix for failed test
GRECLIPSE-1798 Add check for getter method type.
GRECLIPSE-1545 Unit test added