Jul 24th, 2007, 10:20 AM
Recognizing bean properties added by an AspectJ inter-type member declaration?
I'm using AspectJ to provide a default interface implementation with inter-type member declarations. SpringIDE thinks there is an error in a spring xml config file where bean properties that have been added by the aspect are set.
For example, class A implements B. The aspect declares a setFoo method on B, which A picks up because it implements B. A bean definition in xml for an object of type A causes a SpringIDE error for the property foo.
<property name="foo" value="bar" /> <!-- SpringIDE error -->
Is supporting this case out of scope for the SpringIDE project? If so it would be nice to be able to control whether this situation is treated as a error, warning or ignored, just like you can do with java compiler for certain things in java source files.