summaryrefslogtreecommitdiffstats
path: root/languages/java/JavaStoreWalker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/JavaStoreWalker.cpp')
-rw-r--r--languages/java/JavaStoreWalker.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/java/JavaStoreWalker.cpp b/languages/java/JavaStoreWalker.cpp
index ac5cfc5e..e83cd90e 100644
--- a/languages/java/JavaStoreWalker.cpp
+++ b/languages/java/JavaStoreWalker.cpp
@@ -1046,9 +1046,9 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
#line 264 "java.store.g"
meth->setResultType( tp );
- if( m.tqcontains("public") )
+ if( m.contains("public") )
meth->setAccess( CodeModelItem::Public );
- else if( m.tqcontains("protected") )
+ else if( m.contains("protected") )
meth->setAccess( CodeModelItem::Protected );
else
meth->setAccess( CodeModelItem::Private );
@@ -1096,14 +1096,14 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
#line 300 "java.store.g"
attr->setType( tp );
- if( m.tqcontains("public") )
+ if( m.contains("public") )
attr->setAccess( CodeModelItem::Public );
- else if( m.tqcontains("protected") )
+ else if( m.contains("protected") )
attr->setAccess( CodeModelItem::Protected );
else
attr->setAccess( CodeModelItem::Private );
- attr->setStatic( m.tqcontains("static") );
+ attr->setStatic( m.contains("static") );
#line 1109 "JavaStoreWalker.cpp"
}
@@ -1144,9 +1144,9 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
_t = _t->getNextSibling();
#line 247 "java.store.g"
- if( m.tqcontains("public") )
+ if( m.contains("public") )
meth->setAccess( CodeModelItem::Public );
- else if( m.tqcontains("protected") )
+ else if( m.contains("protected") )
meth->setAccess( CodeModelItem::Protected );
else
meth->setAccess( CodeModelItem::Private );
@@ -1212,9 +1212,9 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
#line 282 "java.store.g"
meth->setResultType( tp );
- if( m.tqcontains("public") )
+ if( m.contains("public") )
meth->setAccess( CodeModelItem::Public );
- else if( m.tqcontains("protected") )
+ else if( m.contains("protected") )
meth->setAccess( CodeModelItem::Protected );
else
meth->setAccess( CodeModelItem::Private );