I am developing a plugin for an RCP application.
Within the plugin.xml
, I need to register certain classes at a given extension point.
One of these classes is an anonymous (?) class defined like this:
package de.me.mypackage;
import org.something.AnotherClass;
public class ClassOne {
...
public static AnotherClass<ClassOne> getThat() {
return new AnotherClass<ClassOne>() {
...
};
}
}
Is there any way to reference AnotherClass<ClassOne>
within the plugin.xml?
I already tried something like de.me.mypackage.ClassOne$AnotherClass
but that does not work. Do I have to declare that class within its own file to be able to reference it?