Possible to use two java classes with same name and same package?
<p>Is it possible to import and use two different classes with the same name and package in java?</p>

<p>For example, let's say I have two classes named "com.foo.Bar" that are slightly different. I'd like to be able to use both, but I have a restriction (because of stupid reflective crap) that forces me to keep the names and packages the same.</p>

<p>Is there some feature of java that would allow me to import and isolate each of these classes?</p>

<p>To elaborate, I changed my avro schemas in ways that they shouldn't have ever been changed (oops!) and now I'd like to go back and change the old avro files that can't be read with my new schema into files that can be read by my new schema. Avro seems to force you to use a specific class and package name to load the files. </p>
