I'm creating aliases for long class names... It works perfectly fine, but one of the serialized classes is a private inner class. I can't think of a way to create an alias for it other than making it public. I don't like this solution, because it should not be public in the first place. But since making an alias for it will make it possible to change package and class names without having to modify XML files (because the first tag is the fully qualified class name).

This is how I create aliases:

```
xstreamInstance.alias("ClassAlias", OuterClass.InnerClassToAlias.class);

```

That's why I need public access to that inner class.

So, if anyone knows a trick to alias a private inner class, I would really like to hear about it.