java: Use either MethodTypeSignature or FieldTypeSignature as approp.