logic: add type information of variable decl to name hierarchy
* implemented this feature for both, CXX and Java * adjusted tests to reflect these changes * added NameElement and NameHierarchy to Java code * created more specialized JavaDeclName classes: JavaFunctionDeclName and JavaVariableDeclName * implemented recording static modifier for Java methods and variables fortune cookie message = You will enjoy true success in whatever you do.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.sourcetrail;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.github.javaparser.ast.type.TypeParameter;
|
||||
import com.github.javaparser.ast.NodeList;
|
||||
import com.github.javaparser.ast.body.BodyDeclaration;
|
||||
@@ -43,4 +41,9 @@ public class CallableConstructorDecl implements CallableDecl
|
||||
{
|
||||
return new UnknownType();
|
||||
}
|
||||
|
||||
public boolean isStatic()
|
||||
{
|
||||
return m_decl.isStatic();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user