Spring support: properties marked red in abstract beans

I have several abstract beans which have no class attribute defined in the bean, but
which define a property which is common in all interfaces/implementations of
real beans (as in the following example - the routerManager property is marked in red).

        
    
]]>


I realise IDEA has no way of knowing what I will define that 'inherit' from these
abstract beans, but is there any way of marking these properties so that IDEA
will not bother with them? The visual distraction is annoying ...

Cheers,

Bonny

7 comments
Comment actions Permalink

Hello Bonny,

which define a property which is common in all
interfaces/implementations of real beans (as in the following example
- the routerManager property


What version of IDEA are you using? 6.0.x or the 6755 EAP?


0
Comment actions Permalink

Selena B6755

0
Comment actions Permalink


Let's add issue to JIRA.

Can you provide a more complete example, to make sure that your specific
problem is solved?
What are the definitions of both parent and children of "abstractRouteMgrCmd"
bean?

I filed a similar issue some time ago (IDEADEV-13531), but that one seems
to be fixed already (but not closed in JIRA yet)

-tt


0
Comment actions Permalink


Ok, seems identical to IDEA-11985.


0
Comment actions Permalink

Sorry, hadn't realised you've logged in an issue already...

0
Comment actions Permalink


My fault, I should have posted to this thread.
Btw, the sample code for IDEA-11985 shows an error on a "grandparent bean",
but in your case it seems to be on a "parent"?

Perhaps you could post a more complete sample (including "abstractCommandBean"
- and its ancestor beans if any) as a comment to IDEA-11985?

-tt


0

Please sign in to leave a comment.