Supply property resolver for JSF EL?

I am thinking about starting a plugin to make use of JBoss Seam easier in Idea.
One issue currently is that Idea cannot resolve object names in JSF EL expressions.
For example "#{user.name}" is a valid expression resolving to the JavaBean property
"name" of an instance of class User if that class is annotated with a seam Name
annotation:

@Name("user")
@Scope(SESSION)
@Interceptors(SeamInterceptor.class)
public class User {
...

Now I'd like to add a mechanism that tells Idea how to resolve "user" in EL.
Is this possible at all with the current OpenAPI?
Where should I start to look?

(Also if anybody would like to collaborate on such a plugin, I'd be glad if we
could have a joined effort.)

2 comments

Hi,

Right now there is no API for this functionality but there will be one
in nearest future.

Stephen Kelvin wrote:

I am thinking about starting a plugin to make use of JBoss Seam easier
in Idea.
One issue currently is that Idea cannot resolve object names in JSF EL
expressions.
For example "#{user.name}" is a valid expression resolving to the
JavaBean property
"name" of an instance of class User if that class is annotated with a
seam Name
annotation:

@Name("user")
@Scope(SESSION)
@Interceptors(SeamInterceptor.class)
public class User {
...

Now I'd like to add a mechanism that tells Idea how to resolve "user" in
EL.
Is this possible at all with the current OpenAPI?
Where should I start to look?

(Also if anybody would like to collaborate on such a plugin, I'd be glad
if we
could have a joined effort.)



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hello Maxim,

Right now there is no API for this functionality but there will be one
in nearest future.


Was such an API added. If so, where does it live in API?

-tt


0

Please sign in to leave a comment.