Shorten a long enum name
<p>This is a strange question, but bear with me...</p>

<p>So I am using a third-party library where it uses a very long enum name, like:</p>

<p><code>ALongClassName.ALongPublicEnumType.ALongAndVerboseEnumName</code></p>

<p>And since I need to compare a <code>code</code> to each enum value, I am wondering there is a way for me to shorten the enum name somehow for readability, eg:</p>

<p><code>code == Event.Success</code></p>

<p>instead of:</p>

<p><code>code == ALongClassName.ALongPublicEnumType.ALongAndDescriptiveEnumName</code></p>