Loading .gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 .idea # User-specific stuff .idea/**/workspace.xml .idea/**/tasks.xml Loading META-INF/MANIFEST.MF 0 → 100644 +1 −0 Original line number Diff line number Diff line Manifest-Version: 1.0 pom.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>tfm</groupId> <artifactId>tfm</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> </properties> <modules> <module>sdg-core</module> <module>sdg-cli</module> </modules> </project> sdg-cli/pom.xml +6 −0 Original line number Diff line number Diff line Loading @@ -19,10 +19,16 @@ <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>com.github.javaparser</groupId> <artifactId>javaparser-core</artifactId> <version>3.9.1</version> </dependency> <dependency> <groupId>tfm</groupId> <artifactId>sdg-core</artifactId> <version>1.0-SNAPSHOT</version> <scope>compile</scope> </dependency> </dependencies> </project> sdg-core/src/main/java/tfm/arcs/Arc.java +0 −12 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ import tfm.arcs.pdg.ControlDependencyArc; import tfm.arcs.pdg.DataDependencyArc; import tfm.arcs.sdg.CallArc; import tfm.arcs.sdg.ParameterInOutArc; import tfm.arcs.sdg.ReturnArc; import tfm.arcs.sdg.SummaryArc; import tfm.nodes.GraphNode; Loading Loading @@ -95,17 +94,6 @@ public abstract class Arc extends DefaultEdge { throw new UnsupportedOperationException("Not a ParameterInOutArc"); } /** @see ReturnArc */ public final boolean isReturnArc() { return this instanceof ReturnArc; } public final ReturnArc asReturnArc() { if (isReturnArc()) return (ReturnArc) this; throw new UnsupportedOperationException("Not a ReturnArc"); } /** @see SummaryArc */ public final boolean isSummaryArc() { return this instanceof SummaryArc; Loading Loading
.gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 .idea # User-specific stuff .idea/**/workspace.xml .idea/**/tasks.xml Loading
META-INF/MANIFEST.MF 0 → 100644 +1 −0 Original line number Diff line number Diff line Manifest-Version: 1.0
pom.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>tfm</groupId> <artifactId>tfm</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> </properties> <modules> <module>sdg-core</module> <module>sdg-cli</module> </modules> </project>
sdg-cli/pom.xml +6 −0 Original line number Diff line number Diff line Loading @@ -19,10 +19,16 @@ <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>com.github.javaparser</groupId> <artifactId>javaparser-core</artifactId> <version>3.9.1</version> </dependency> <dependency> <groupId>tfm</groupId> <artifactId>sdg-core</artifactId> <version>1.0-SNAPSHOT</version> <scope>compile</scope> </dependency> </dependencies> </project>
sdg-core/src/main/java/tfm/arcs/Arc.java +0 −12 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ import tfm.arcs.pdg.ControlDependencyArc; import tfm.arcs.pdg.DataDependencyArc; import tfm.arcs.sdg.CallArc; import tfm.arcs.sdg.ParameterInOutArc; import tfm.arcs.sdg.ReturnArc; import tfm.arcs.sdg.SummaryArc; import tfm.nodes.GraphNode; Loading Loading @@ -95,17 +94,6 @@ public abstract class Arc extends DefaultEdge { throw new UnsupportedOperationException("Not a ParameterInOutArc"); } /** @see ReturnArc */ public final boolean isReturnArc() { return this instanceof ReturnArc; } public final ReturnArc asReturnArc() { if (isReturnArc()) return (ReturnArc) this; throw new UnsupportedOperationException("Not a ReturnArc"); } /** @see SummaryArc */ public final boolean isSummaryArc() { return this instanceof SummaryArc; Loading