/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ public Pokemon getEvolvesTo() { if (evolvesTo != null && evolvesTo.eIsProxy()) { InternalEObject oldEvolvesTo = (InternalEObject) evolvesTo; evolvesTo = (Pokemon) eResolveProxy(oldEvolvesTo); if (evolvesTo != oldEvolvesTo) { if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.RESOLVE, PokemongoPackage.POKEMON__EVOLVES_TO, oldEvolvesTo, evolvesTo)); } } return evolvesTo; }