Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fruffy/sisyphus
Detecting code duplicates by crawling the Java standard library.
https://github.com/fruffy/sisyphus
clone java-8 javaparser jgrapht
Last synced: 39 minutes ago
JSON representation
Detecting code duplicates by crawling the Java standard library.
- Host: GitHub
- URL: https://github.com/fruffy/sisyphus
- Owner: fruffy
- Created: 2017-01-24T01:56:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T04:27:39.000Z (over 7 years ago)
- Last Synced: 2024-12-06T19:57:21.407Z (28 days ago)
- Topics: clone, java-8, javaparser, jgrapht
- Language: Java
- Homepage:
- Size: 51.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 507
For a detailed description of the project please see the [project paper](Sisyphus_ProjectPaper.pdf).
How to install (For now)
Run ./install.sh
Add 507 Project into Eclipse/IntelliJ
Add javasymbolsolver-core, javasymbolsolver-model, javasymbolsolver-logic to Eclipse/IntelliJ
Run 507
# Tracking locally modified Library Files:
* Integrated changes
https://github.com/javaparser/javaparser/issues/882
* CPSC_507/javasymbolsolver/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserInterfaceDeclaration.java
Changed toReferenceType()
```
List superClassTypeParameters = classOrInterfaceType.getTypeArguments()
.get();
for (com.github.javaparser.ast.type.Type type : superClassTypeParameters) {
if (type.toString().equals(this.getWrappedNode().getNameAsString())) {
superClassTypeParameters.remove(type);
}
}
List solvedTypeParameters = superClassTypeParameters.stream()
.map(ta -> JavaParserFacade.get(typeSolver).convert(ta, ta)).collect(Collectors.toList());
return new ReferenceTypeImpl(ref.getCorrespondingDeclaration().asReferenceType(), solvedTypeParameters,
typeSolver);
```
* Integrated changes
https://github.com/javaparser/javasymbolsolver/commit/eba1cb8067a401c05e584c60a3031b72c0a008b3