WFLY-4127 Take TX attribute into account for non-public methods