data: indexing java

* expanded appsettings to include java specific stuff
* added java indexer as separate project that can be build via its build script
* added dependencies for java indexer to the setup folder
* added license files for these dependencies.
* added sample project for java. this is just to test java on other machines and can be removed again in the future.
* the java parser test suite is currently uncommented because java is not running on every machine.
* added some more node types
* removed TokenComponentAccess::AccessType and replaced all its usages by using AccessKind
* moved access components from edges to nodes
* using recordReference of ParserClient for java
* removed recording access specifier of inheritance edges.
* added styles for new node types
This commit is contained in:
malte_langkabel
2016-08-04 09:20:13 +02:00
parent 05c06a6102
commit b072972b50
122 changed files with 7291 additions and 696 deletions
-19
View File
@@ -164,25 +164,6 @@ void Graph::removeEdge(Edge* edge)
m_edges.erase(it);
}
bool Graph::removeNodeIfUnreferencedRecursive(Node* node)
{
if (!node->hasReferences())
{
Node* parent = node->getParentNode();
removeNode(node);
if (parent)
{
removeNodeIfUnreferencedRecursive(parent);
}
return true;
}
return false;
}
Node* Graph::findNode(std::function<bool(Node*)> func) const
{
std::map<Id, std::shared_ptr<Node>>::const_iterator it = find_if(m_nodes.begin(), m_nodes.end(),