Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource@modifiers from JDT is broken #78

Open
BertLisser opened this issue Apr 16, 2013 · 0 comments
Open

Resource@modifiers from JDT is broken #78

BertLisser opened this issue Apr 16, 2013 · 0 comments

Comments

@BertLisser
Copy link
Owner

Created 2009-11-22 by davy.landman+cwi@gmail.com assigned to lankamp@cwi.nl

Running it against a example source JspWiki gives only 17 modifiers for the entire project?

Only indication about what might go wrong is that it seems to look at one class and stop further extraction?

rascal>jspFacts = extractProject(|project://jspwiki|);
...
rascal>size(jspFacts@modifiers)
int: 17
rascal>for (m <- jspFacts@modifiers) { println(m); }
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getMethodNames",[],entity([array(entity([package("java"),package("lang"),class("String")]))]))]),abstract()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getAttributeNames",[],entity([array(entity([package("java"),package("lang"),class("String")]))]))]),abstract()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean")]),abstract()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getMethodNames",[],entity([array(entity([package("java"),package("lang"),class("String")]))]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getMBeanInfo",[],entity([package("javax"),package("management"),class("MBeanInfo")]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),field("m_beanInfo")]),protected()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getAttribute",[entity([package("java"),package("lang"),class("String")])],entity([package("java"),package("lang"),class("Object")]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean")]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getAttributeNames",[],entity([array(entity([package("java"),package("lang"),class("String")]))]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("findGetterSetter",[entity([package("java"),package("lang"),class("Class",[entity([wildcard()])])]),entity([package("java"),package("lang"),class("String")]),entity([package("java"),package("lang"),class("Class",[entity([wildcard()])])])],entity([package("java"),package("lang"),package("reflect"),class("Method")]))]),private()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),constr([])]),protected()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("findGetterSetter",[entity([package("java"),package("lang"),class("Class",[entity([wildcard()])])]),entity([package("java"),package("lang"),class("String")]),entity([package("java"),package("lang"),class("Class",[entity([wildcard()])])])],entity([package("java"),package("lang"),package("reflect"),class("Method")]))]),static()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("setAttributes",[entity([package("javax"),package("management"),class("AttributeList")])],entity([package("javax"),package("management"),class("AttributeList")]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getDescription",[],entity([package("java"),package("lang"),class("String")]))]),protected()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("setAttribute",[entity([package("javax"),package("management"),class("Attribute")])],entity([primitive(void())]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("invoke",[entity([package("java"),package("lang"),class("String")]),entity([array(entity([package("java"),package("lang"),class("Object")]))]),entity([array(entity([package("java"),package("lang"),class("String")]))])],entity([package("java"),package("lang"),class("Object")]))]),public()>
<entity([package("com"),package("ecyrd"),package("management"),class("SimpleMBean"),method("getAttributes",[entity([array(entity([package("java"),package("lang"),class("String")]))])],entity([package("javax"),package("management"),class("AttributeList")]))]),public()>
list[void]: []
rascal>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant