Spin (Pseudospin) doublet in view of energy-dependent potential