Change variable name from swiftObj to obj.
Improve javadoc documentation.