diff --git a/.gitignore b/.gitignore
index afd5918..1c81bff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,32 +1,157 @@
+# Created by https://www.toptal.com/developers/gitignore/api/intellij,java,maven
+# Edit at https://www.toptal.com/developers/gitignore?templates=intellij,java,maven
+
+### Intellij ###
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff
+.idea/
+.idea/**/workspace.xml
+.idea/**/tasks.xml
+.idea/**/usage.statistics.xml
+.idea/**/dictionaries
+.idea/**/shelf
+
+# eclipse project file
+.settings/
+.classpath
+.project
+
+# Generated files
+.idea/**/contentModel.xml
+
+# Sensitive or high-churn files
+.idea/**/dataSources/
+.idea/**/dataSources.ids
+.idea/**/dataSources.local.xml
+.idea/**/sqlDataSources.xml
+.idea/**/dynamic.xml
+.idea/**/uiDesigner.xml
+.idea/**/dbnavigator.xml
+
+# Gradle
+.idea/**/gradle.xml
+.idea/**/libraries
+
+# Gradle and Maven with auto-import
+# When using Gradle or Maven with auto-import, you should exclude module files,
+# since they will be recreated, and may cause churn. Uncomment if using
+# auto-import.
+# .idea/artifacts
+# .idea/compiler.xml
+# .idea/jarRepositories.xml
+# .idea/modules.xml
+# .idea/*.iml
+# .idea/modules
+# *.iml
+# *.ipr
+
+# CMake
+cmake-build-*/
+
+# Mongo Explorer plugin
+.idea/**/mongoSettings.xml
+
+# File-based project format
+*.iws
+
+# IntelliJ
+out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Cursive Clojure plugin
+.idea/replstate.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+# Editor-based Rest Client
+.idea/httpRequests
+
+# Android studio 3.1+ serialized es.uniovi.reflection.progquery.cache file
+.idea/caches/build_file_checksums.ser
+
+### Intellij Patch ###
+# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
+
+# *.iml
+# modules.xml
+# .idea/misc.xml
+# *.ipr
+
+# Sonarlint plugin
+# https://plugins.jetbrains.com/plugin/7973-sonarlint
+.idea/**/sonarlint/
+
+# SonarQube Plugin
+# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
+.idea/**/sonarIssues.xml
+
+# Markdown Navigator plugin
+# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
+.idea/**/markdown-navigator.xml
+.idea/**/markdown-navigator-enh.xml
+.idea/**/markdown-navigator/
+
+# Cache file creation bug
+# See https://youtrack.jetbrains.com/issue/JBR-2257
+.idea/$CACHE_FILE$
+
+# CodeStream plugin
+# https://plugins.jetbrains.com/plugin/12206-codestream
+.idea/codestream.xml
+
+### Java ###
+# Compiled class file
*.class
-ProgQuery/build/*
-ProgQuery/neo4j/*
-ProgQuery/data/*
-ProgQuery/bin/
-ProgQuery/bon/
-ProgQuery/temp/*
-ProgQuery/.gradle/*
-ProgQuery/.classpath
-ProgQuery/.project
-ProgQuery/cdAdapted.bat
-ProgQuery/cdAdaptedUpdated.bat
-ProgQuery/pdgTest_wiggle.bat
-ProgQuery/python_measurement.bat
-ProgQuery/startup.test.csv
-ProgQuery/*.pyc
-ProgQuery/compilePlugin.bat
-ProgQuery/compileAndExecuteWithArgs.bat
-ProgQuery/executePlugin--.bat
-ProgQuery/loadExecuteAndView.bat
-ProgQuery/.metadata/*
-*.pyc
-*.py
-*.csv
-*.bat
-*.txt
+
+# Log file
*.log
-*.exe
-*.gexf
-binaries_bad/*
-__pycache__/*
-ProgQuery/javac.*.args
\ No newline at end of file
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+### Maven ###
+target/
+*/target/
+pom.xml.tag
+pom.xml.releaseBackup
+pom.xml.versionsBackup
+pom.xml.next
+release.properties
+dependency-reduced-pom.xml
+buildNumber.properties
+.mvn/timing.properties
+# https://github.com/takari/maven-wrapper#usage-without-binary-jar
+.mvn/wrapper/maven-wrapper.jar
+.flattened-pom.xml
+
+# End of https://www.toptal.com/developers/gitignore/api/intellij,java,maven
+
+#Added by me
+/bin/
+/data/
\ No newline at end of file
diff --git a/ExampleClasses/.classpath b/ExampleClasses/.classpath
deleted file mode 100644
index fb50116..0000000
--- a/ExampleClasses/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/ExampleClasses/.gitignore b/ExampleClasses/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/ExampleClasses/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/ExampleClasses/.project b/ExampleClasses/.project
deleted file mode 100644
index c241c69..0000000
--- a/ExampleClasses/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- ExampleClasses
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/ExampleClasses/emptyIf.ql b/ExampleClasses/emptyIf.ql
deleted file mode 100644
index fd140fb..0000000
--- a/ExampleClasses/emptyIf.ql
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-import java
-
-from ControlFlowNode node
-select node
\ No newline at end of file
diff --git a/ExampleClasses/src/TL.java b/ExampleClasses/src/TL.java
deleted file mode 100644
index ca6b9e1..0000000
--- a/ExampleClasses/src/TL.java
+++ /dev/null
@@ -1,9 +0,0 @@
-import java.util.ArrayList;
-
-public class TL {
-
-
- public void m(){
- System.out.println(ArrayList.class);
- }
-}
diff --git a/ExampleClasses/src/annotations/MyAnn.java b/ExampleClasses/src/annotations/MyAnn.java
deleted file mode 100644
index 2387bfb..0000000
--- a/ExampleClasses/src/annotations/MyAnn.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package annotations;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-import java.util.ArrayList;
-import java.util.List;
-
-import examples.mig.C;
-
-public abstract class MyAnn extends C{
- public MyAnn(int i) {
- super(i);
- }
-
- // public void f() throws T{
- // Class super Cloneable> c;
- // Class extends D> d;
- //
- // }
- private List l = new ArrayList();
- private List l2 = getL();
-
- ArrayList getL() {
- return null;
- }
-
- int getI() {
- return 0;
- }
-
- public String toString() {
- return "";
- }
- public String getS(){
- return null;
- }
-
- @Retention(RetentionPolicy.RUNTIME)
- @Target(ElementType.FIELD)
- public @interface JsonElement {
- public static final String o = "GGGG";
-
- public String key() default JsonElement.o;
-
- public int g() default (int) 2.9;
- }
-
- @JsonElement
- private int a;
-}
diff --git a/ExampleClasses/src/drawable/Figure2D.java b/ExampleClasses/src/drawable/Figure2D.java
deleted file mode 100644
index dde6e64..0000000
--- a/ExampleClasses/src/drawable/Figure2D.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package drawable;
-
-public interface Figure2D {
- double getPerimeter();
-}
diff --git a/ExampleClasses/src/drawable/polygons/Polygon.java b/ExampleClasses/src/drawable/polygons/Polygon.java
deleted file mode 100644
index bc3afe2..0000000
--- a/ExampleClasses/src/drawable/polygons/Polygon.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package drawable.polygons;
-
-import java.awt.geom.Point2D;
-
-import drawable.Figure2D;
-
-public class Polygon implements Figure2D {
-
- final Point2D[] points;//line 9
-
- public Polygon(Point2D... pts) {//line 11
- if (pts.length < 3)//line 12
- throw new IllegalArgumentException("A polygon must have at least three vertices.");
- clonePoints(pts, this.points = new Point2D[pts.length]);//line 14
- }
-
- private static void clonePoints(Point2D[] src, Point2D[] dest) {
- if (src.length != dest.length)
- throw new IllegalArgumentException("Point arrays must have the same length.");
- for (int i = 0; i < src.length; i++)
- dest[i] = (Point2D) src[i].clone();
- }
-
- public void setPoint(int index, Point2D newPoint) {
- points[index] = newPoint;
- }
-
- @Override
- public double getPerimeter() {
- double perimeter = 0;
- int nVertices = points.length;
- for (int i = 0; i < nVertices; i++)
- perimeter += points[i].distance(points[(i + 1) % nVertices]);
- return perimeter;
- }
-
-}
diff --git a/ExampleClasses/src/drawable/polygons/RegularPolygon.java b/ExampleClasses/src/drawable/polygons/RegularPolygon.java
deleted file mode 100644
index 57d15ed..0000000
--- a/ExampleClasses/src/drawable/polygons/RegularPolygon.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package drawable.polygons;
-
-import java.awt.geom.Point2D;
-
-public class RegularPolygon extends Polygon {
-
- public RegularPolygon(Point2D... points) {
- super(points);
- if (!equidistantPoints(points))
- throw new IllegalArgumentException("These points do not represent a regular polygon.");
- }
-
- private boolean equidistantPoints(Point2D[] points) {
- double distance = points[points.length - 1].distance(points[0]);
- for (int i = 0; i < points.length - 1; i++)
- if (points[i].distance(points[i + 1]) != distance)
- return false;
- return true;
- }
-
- @Override
- public double getPerimeter() {
- return points[0].distance(points[1]) * points.length;
- }
-
- @Override
- public void setPoint(int index, Point2D newPoint) {
- throw new IllegalStateException("You cannot modify points in a regular polygon.");
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/A.java b/ExampleClasses/src/examples/CFG/A.java
deleted file mode 100644
index bb9bebb..0000000
--- a/ExampleClasses/src/examples/CFG/A.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package examples.CFG;
-
-import java.io.IOException;
-
-public class A {
-
- public A() throws IOException {
-
-
- }
-
- public void m() throws IOException {
- new B().mThrows();
- m();
- }
-
- int getI() {
- return 0;
- }
-
- public static void main(String[] args) {
- try {
- boolean i = false;
- i &= false;
- i |= true;
- if (args.length == 0)
- throw new RuntimeException();
- } finally {
- System.out.println("FINALLY");
- }
- System.out.println("AFTER FINALLy");
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/B.java b/ExampleClasses/src/examples/CFG/B.java
deleted file mode 100644
index a459d01..0000000
--- a/ExampleClasses/src/examples/CFG/B.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package examples.CFG;
-
-import java.io.IOException;
-
-public class B extends A {
-
- public B() throws IOException {
- super();
- // TODO Auto-generated constructor stub
- }
-
- public void mThrows() throws IOException, AssertionError, NullPointerException {
- mThrows();
- new A().m();
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/BreakTest.java b/ExampleClasses/src/examples/CFG/BreakTest.java
deleted file mode 100644
index 36006b6..0000000
--- a/ExampleClasses/src/examples/CFG/BreakTest.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package examples.CFG;
-
-public class BreakTest {
- static final String F = "FFF";
-
- public static void main(final String[] args) {
- final int index = 0;
- // System.out.println("A");
- // // break;
- // System.out.println("B");
- // b: {
- // if ("B".length() == 1)
- // break b;
- // // break a sin label da error de compilación, sólo deja dentro de un
- // // loop o switch
- // System.out.println("UNREACHEABLE");
- // if (true)
- // ;
- // // ERROR COMPILACIÓN
- // // continue b;
- // }
- //
- // b: do {
- // if (true) {
- // // ERROR duplicate label b
- // // b:;
- // a: ;
- // // ERROR misssing label a
- // // break a;
- // }
- //
- // continue b;
- // } while (args[0].contains("a"));
- switch (args[0]) {
- }
- a: {
- System.out.println("BLOC K INI");
- if ("A".contains("A"))
- break a;
- System.out.println("BLOCK END");
-
- }
-
- a: if (true)
- b: {
- if ("A".contains("A"))
- break a;
- else
- break b;
- }
- s: synchronized (args) {
-
- }
- int i = 1;
- while (i < 20) {
- b: {
-
- if (i % 3 == 0)
- break b;
- System.out.println("BLOCK END" + i);
-
- }
-
- if (i % 5 == 0)
- break;
- System.out.println("LOOP END" + i);
- i++;
- }
- final String s2 = "J";
- final String s = "DDD";
- switch (s) {
- case s:
- System.out.println("A");
- case "B": {
- }
- System.out.println("B");
- // while (true)
- // if ("A".contains("A"))
- // break;
- // else
- // break sw;
- case "D":
- switch (2 + 5) {
- case 3:
- break;
- case 89:
- }
- case BreakTest.F: {
- System.out.println("C");
- break;
- }
- case (int) 2.9 + "":
- default:
- System.out.println("DEFAULT");
-
- // Aquí podemos dar fallo , no tiene sentido, es como añadir más
- // sentencias al default
- case "JH":
- System.out.println("JH");
- }
- }
-
- static String a = "B";
-
- private static String getC() {
- System.out.println("EVAL GETC");
- String ret = a;
- if (!a.contentEquals("X"))
- a = "C";
- return ret;
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/ConstructorInit.java b/ExampleClasses/src/examples/CFG/ConstructorInit.java
deleted file mode 100644
index 0034a75..0000000
--- a/ExampleClasses/src/examples/CFG/ConstructorInit.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package examples.CFG;
-
-public class ConstructorInit {
-
- int a = getInt("A"), b = getInt("B");
- public ConstructorInit() {
- System.out.println("FIRST ST IN CONST");
- }
-
- int d = getInt("D");
-
- private int getInt(String string) {
- System.out.println(string);
- return 0;
- }
-
- int e = getInt("E"), f = getInt("F"), g = getInt("G");
- public static void main(String[] args) {
- new ConstructorInit();
- }
-
- int c = getInt("C");
-
-}
diff --git a/ExampleClasses/src/examples/CFG/LabeledStatementTest.java b/ExampleClasses/src/examples/CFG/LabeledStatementTest.java
deleted file mode 100644
index f50acd3..0000000
--- a/ExampleClasses/src/examples/CFG/LabeledStatementTest.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package examples.CFG;
-
-public class LabeledStatementTest {
-
- public static void main(String[] args) {
- int a;
- label: while (true)
- break label;
- label: for (int i = 0; i < 4; i++)
- label2: {
- System.out.println(i);
- if (i > 1)
- continue;
- System.out.println("A");
- }
-
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/TryCatchFinally.java b/ExampleClasses/src/examples/CFG/TryCatchFinally.java
deleted file mode 100644
index c3a2d2a..0000000
--- a/ExampleClasses/src/examples/CFG/TryCatchFinally.java
+++ /dev/null
@@ -1,137 +0,0 @@
-package examples.CFG;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.Reader;
-import java.lang.reflect.Method;
-
-public class TryCatchFinally {
- boolean aux = false;
-
- public void m(int a) throws IOException, ClassNotFoundException, AssertionError, CloneNotSupportedException,
- InstantiationException, IllegalAccessException {
- // Statement 0
- Method m = null;
- // Statement 1(label), 2(try), 3, 4 (resources)
- tr: try (BufferedReader r = new BufferedReader(getS()); BufferedReader r2 = null) {
- // Statement 5
- new TryCatchFinally().getR();
- // Statement 6
- try {
- // Statement 7, 8, 9
- m.getDeclaringClass().getFields()[7].set(m, 2);
- NullPointerException n = null;
- if (a < 2)
- // Statement 10
- throw n;
- // Statement 11, 12
- try (BufferedReader rd = null) {
- // Statement 13
- m.invoke(m, 1);
- }
- // Statement 14,15
- } catch (IndexOutOfBoundsException e) {
- // Statement 16
- a = 5;
- // Statement 17,18,19,20
- } catch (RuntimeException f) {
- a += 7;
- m.getClass().newInstance();
- // Satetement 21,22
- } catch (Exception g) {
- // Statement 23,24,25 (initialization), 26 (update)
- fr: for (int i = 0; i < 6; i++)
- // Statement 27
- try {
- // Statement 28,29,30 (continue), 31, 32 (break), 33, 34
- // (continue fr), 35 (break tr)
- assert (i >= 9);
- if (i == a)
- continue;
- else if ("J".contains(i + ""))
- break;
- else if (aux)
- continue fr;
- else
- break tr;
- // Statement 36
- } finally {
- // Statement 37, 38, 39, 40, 41, 42, 43
- a++;
- NullPointerException n = null;
- if (a == 6)
- throw n;
- else if (a == 7)
- assert (a == 8);
- else if(a==9)
- continue fr;
- else
- throw new IllegalAccessError();
- }
- }
- // Statement 44
- throw new RuntimeException();
- // Statement 45,46,47
- } catch (NullPointerException h) {
- break tr;
- // Statement 48,49
- } catch (AssertionError i) {
- // Statement 50 (label) ,51,52 (declaration)
- fr: for (String st : "H".split("H"))
- // Statement 53
- while (true)
- // Statement 54
- try {
- // Statement 55,56,57,58,59
- if (a == 4)
- break;
- else if (a == 7)
- break tr;
- else
- continue fr;
- // Statement 60
- } finally {
- }
- // Statement 61
- } finally {
- // Statement 62
- System.out.println(a);
- // Statement 63
- try {
- // Statement 64,65
- assert (a * 2 == 9);
- m.getClass().newInstance();
- // Statement 66
- do
- // Statement 67 , 68
- if (m.toString().length() == 2)
- break;
- while (true);
- // Statement 69
- throw new IllegalMonitorStateException();
- // Statement 70,71,72
- } catch (Throwable t) {
- ;
- // Statement 73
- } finally {
- // Statement 74,75,76,77
- try (BufferedReader br = null) {
- if (getR().ready())
- break tr;
- }
- }
- }
- }
-
- public Reader getS() throws IOException {
- return null;
- }
-
- public Reader getR() throws ClassNotFoundException, AssertionError {
- return null;
- }
-
- public TryCatchFinally() throws CloneNotSupportedException {
-
- }
-}
diff --git a/ExampleClasses/src/examples/CFG/TryClauseTest.java b/ExampleClasses/src/examples/CFG/TryClauseTest.java
deleted file mode 100644
index 07aa8c6..0000000
--- a/ExampleClasses/src/examples/CFG/TryClauseTest.java
+++ /dev/null
@@ -1,110 +0,0 @@
-package examples.CFG;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-
-public class TryClauseTest {
-
- public static void main(String[] args) throws IOException, InterruptedException {
- int i = 0;
- // BufferedReader brd = m();
- // w: while (true)
- try (BufferedReader br = m()) {
-
- // break w;
- } catch (Exception e) {
- System.out.println("CAUGHT");
- throw e;
- // break w;
- } finally {
- System.out.println("FIRST FINALLY");
- }
- bb: {
- try {
- break bb;
- } finally {
-
- }
-
- }
- while (true)
- try {
- if (args.length == 0)
- continue;
- else
- break;
- } finally {
- System.out.println("LOOP FINALLY");
- }
-
- othertr: try {
- // if (args.length == 0)
- // break tr;
- try {
- System.out.println("TRY");
- // break tr;
- } finally {
- System.out.println("FIRST FINALLY");
- if (args.length == 0)
- break othertr;
- System.out.println("FIRST FINALLY END");
- }
- } catch (Exception f) {
- System.out.println("CAUGHT");
- if (args.length == 0)
- break othertr;
- System.out.println("POST CAUGHT");
- } finally {
- System.out.println("FINALLY");
- if (args.length == 0)
- break othertr;
- System.out.println("POST-BREAK");
- }
-
- try {
- try {
- System.out.println("FIRST NESTED TRY");
- if (args.length == 0)
- throw new IllegalAccessError();
- } finally {
- // throw new IllegalStateException();
- }
- }
- // catch (IllegalAccessError e) {
- // System.out.println("SECOND CATCHED " + e);
- // }
- finally {
- try {
- System.out.println("NESTED TRY");
- } catch (IllegalAccessError e) {
- System.out.println("CAUGHT " + e);
- } finally {
- System.out.println("SECOND FINALLY");
-
- }
-
- try (BufferedReader br = new BufferedReader(null); BufferedReader br2 = null) {
-
- assert (false);
- System.out.println("FIN");
- }
- // catch(Exception e){
- //
- // }
- finally {
- Thread.sleep(3000);
- System.out.println("Finally");
- throw new IllegalAccessError();
- }
- }
- }
-
- private static BufferedReader m() throws IOException {
- throw new IOException();
- }
-
- // int i = 0;
- // i++;
-
- // }
-}
diff --git a/ExampleClasses/src/examples/Constructores.java b/ExampleClasses/src/examples/Constructores.java
deleted file mode 100644
index dea2918..0000000
--- a/ExampleClasses/src/examples/Constructores.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package examples;
-
-import java.io.BufferedReader;
-
-import examples.classesDependencies.ClassUse;
-import examples.classesDependencies.Interface;
-import examples.cmu.SubA;
-import examples.cmu.SubA2;
-
-public class Constructores {
- SubA a;
- SubA2 a2;
- double b;
-
- public Constructores() {
- }
-
- public Constructores(Object a) {
- this.b = a.hashCode() / 2.0;
- }
-
- public Constructores(Integer a) {
- b = a / 2.0;
- }
-
- public Constructores(Interface a) {
- // b = a / 2.0;
- }
-
- public Constructores(BufferedReader a) {
- // b = a / 2.0;
- }
-
- public Constructores(int a) {
- b *= a / 2.0;
-
- new Interface() {
-
- public int a() {
- return 2;
- }
- };
- }
-
- public static Constructores newInstance(int a) {
- new Constructores();
- new Constructores(new BufferedReader(null));
- new Constructores();
- new Constructores("JMO");
- new Constructores(new ClassUse());
-
- return new Constructores(a);
- }
-
- public void m() {
- super.toString();
- }
-}
diff --git a/ExampleClasses/src/examples/Interface.java b/ExampleClasses/src/examples/Interface.java
deleted file mode 100644
index 08c7a20..0000000
--- a/ExampleClasses/src/examples/Interface.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package examples;
-
-public interface Interface {
- default void m () throws InterruptedException{
- this.wait();
- }
-}
diff --git a/ExampleClasses/src/examples/OtherClass.java b/ExampleClasses/src/examples/OtherClass.java
deleted file mode 100644
index e56590e..0000000
--- a/ExampleClasses/src/examples/OtherClass.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package examples;
-
-import examples.classesDependencies.Interface;
-
-public class OtherClass /* extends BufferedReader */ implements Interface {
-
- public OtherClass() {
- }
-
- public int n;
-
- public static class InnerClass implements Interface {
- public static int n = 0;
- }
-}
diff --git a/ExampleClasses/src/examples/Test.java b/ExampleClasses/src/examples/Test.java
deleted file mode 100644
index 53569d2..0000000
--- a/ExampleClasses/src/examples/Test.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package examples;
-
-public class Test {
-
- public static void main(String[] args) {
- int a = 2;
- }
-
- @Override
- public boolean equals(Object o) {
- return true;
- }
- public boolean equals(Object o,Object o2) {
- return true;
- }
- @Override
- public int hashCode() {
- return 2;
- }
-}
diff --git a/ExampleClasses/src/examples/TestNoHash.java b/ExampleClasses/src/examples/TestNoHash.java
deleted file mode 100644
index 615534e..0000000
--- a/ExampleClasses/src/examples/TestNoHash.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package examples;
-
-public class TestNoHash {
- @Override
- public boolean equals(Object o) {
- return true;
- }
-
- public int hashCode(int arg) {
-// Class extends ? extends Object> c;
- return arg
-// +2.5
- ;
- }
-}
diff --git a/ExampleClasses/src/examples/TestSwitch.java b/ExampleClasses/src/examples/TestSwitch.java
deleted file mode 100644
index d37192f..0000000
--- a/ExampleClasses/src/examples/TestSwitch.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package examples;
-
-public class TestSwitch {
-
- public static void main(String[] args) {
-
- switch (args[0]) {
-
- case "a":
- System.out.println("OKKKOKIHUHIJKDFP");
- Integer i = 2;
-
- case "b":
- // i.toString();
-
- default:
- }
- }
-}
diff --git a/ExampleClasses/src/examples/TestUtil.java b/ExampleClasses/src/examples/TestUtil.java
deleted file mode 100644
index c19b66c..0000000
--- a/ExampleClasses/src/examples/TestUtil.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package examples;
-
-public class TestUtil {
- @Override
- public boolean equals(Object o) {
- return true;
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/_11/S_BAD.java b/ExampleClasses/src/examples/bloch/_11/S_BAD.java
deleted file mode 100644
index 23e9027..0000000
--- a/ExampleClasses/src/examples/bloch/_11/S_BAD.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package examples.bloch._11;
-
-import java.io.IOException;
-import java.io.Serializable;
-
-public class S_BAD implements Serializable {
-
- private void writeObject(java.io.ObjectOutputStream out)
- {
-
- }
- private void readObject()
- throws IOException, ClassNotFoundException{
-
- }
-
- Object readResolve() {
- return null;
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/_11/S_BAD2.java b/ExampleClasses/src/examples/bloch/_11/S_BAD2.java
deleted file mode 100644
index 627158f..0000000
--- a/ExampleClasses/src/examples/bloch/_11/S_BAD2.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.bloch._11;
-
-import java.io.IOException;
-import java.io.Serializable;
-
-public class S_BAD2 implements Serializable {
-
-
- protected void readObject(java.io.ObjectInputStream in)
- throws IOException, ClassNotFoundException{
-
- }
-
-}
diff --git a/ExampleClasses/src/examples/bloch/_11/S_COM.java b/ExampleClasses/src/examples/bloch/_11/S_COM.java
deleted file mode 100644
index 7b5778f..0000000
--- a/ExampleClasses/src/examples/bloch/_11/S_COM.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.bloch._11;
-
-import java.io.IOException;
-import java.io.Serializable;
-
-public class S_COM implements Serializable {
-
-
- private void readObject(java.io.ObjectInputStream in)
- throws IOException, ClassNotFoundException{
-
- }
-
-}
diff --git a/ExampleClasses/src/examples/bloch/_11/S_COM2.java b/ExampleClasses/src/examples/bloch/_11/S_COM2.java
deleted file mode 100644
index b29c359..0000000
--- a/ExampleClasses/src/examples/bloch/_11/S_COM2.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package examples.bloch._11;
-
-import java.io.IOException;
-import java.io.ObjectStreamException;
-import java.io.Serializable;
-
-public class S_COM2 implements Serializable {
-
-
- public Object readResolve() throws ObjectStreamException{
- return new S_COM2();
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/AnnotationsAndWarningsTest.java b/ExampleClasses/src/examples/bloch/experiments/AnnotationsAndWarningsTest.java
deleted file mode 100644
index f2180fd..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/AnnotationsAndWarningsTest.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package examples.bloch.experiments;
-
-import java.util.ArrayList;
-
-//@SuppressWarnings("unchecked")
-/**
- * @author Oscar
- *
- * @param
- */
-public class AnnotationsAndWarningsTest {
-
- public String toString(){
- E[] array=(E[]) new ArrayList().toArray();
- return array.toString();
- }
-
-
- /**
- * @param a2
- */
- @SuppressWarnings("unchecked")
- public void foo(int a2){
- @SuppressWarnings("unchecked")
- int a=2;
- }
-
-
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/AssertTest.java b/ExampleClasses/src/examples/bloch/experiments/AssertTest.java
deleted file mode 100644
index 6daec02..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/AssertTest.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.bloch.experiments;
-
-public class AssertTest {
-
- public static void main(String[] args) {
- System.out.println("START");
- try {
- assert (args.length > 0);
- } catch (AssertionError | Exception e) {
- System.out.println("CACHADO");
- e.printStackTrace();
- }
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/BaseEnum.java b/ExampleClasses/src/examples/bloch/experiments/BaseEnum.java
deleted file mode 100644
index 45c2cd8..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/BaseEnum.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package examples.bloch.experiments;
-
-public enum BaseEnum {
- A,B;
-static{
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/ExtensibleEnumsTest.java b/ExampleClasses/src/examples/bloch/experiments/ExtensibleEnumsTest.java
deleted file mode 100644
index d068017..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/ExtensibleEnumsTest.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package examples.bloch.experiments;
-
-import java.io.Serializable;
-
-public enum ExtensibleEnumsTest implements Serializable{
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/GenericsTest.java b/ExampleClasses/src/examples/bloch/experiments/GenericsTest.java
deleted file mode 100644
index 2ea3fe0..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/GenericsTest.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package examples.bloch.experiments;
-
-import java.util.HashSet;
-import java.util.Set;
-
-public class GenericsTest {
-
-
- public void foo(Set> s){
- Set s2=new HashSet<>();
- Set s3=new HashSet();
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/HierarchyTest.java b/ExampleClasses/src/examples/bloch/experiments/HierarchyTest.java
deleted file mode 100644
index 1d66e23..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/HierarchyTest.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package examples.bloch.experiments;
-
-public class HierarchyTest extends NestedClassesTest{
- @Override
- public String toString(){
- return "HIERAR TOSTRING";
- }
-
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/MetodosHeredados.java b/ExampleClasses/src/examples/bloch/experiments/MetodosHeredados.java
deleted file mode 100644
index 29d395a..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/MetodosHeredados.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package examples.bloch.experiments;
-
-public class MetodosHeredados extends Thread{
-
- @Override
- public void interrupt(){
- System.out.println("naaaaaaa");
- }
-
-
- public void foo(){
- interrupt();
- super.interrupt();
- this.interrupt();
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/MetodosHeredadosTest2.java b/ExampleClasses/src/examples/bloch/experiments/MetodosHeredadosTest2.java
deleted file mode 100644
index 2e7d23c..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/MetodosHeredadosTest2.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package examples.bloch.experiments;
-
-public class MetodosHeredadosTest2 extends Thread{
-
-
- public void foo(){
- interrupt();
- super.interrupt();
- this.interrupt();
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/NativeTest.java b/ExampleClasses/src/examples/bloch/experiments/NativeTest.java
deleted file mode 100644
index 4cf860d..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/NativeTest.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package examples.bloch.experiments;
-
-public class NativeTest {
- public native void printText ();
-
- static{
- System.loadLibrary ("happy");
- }
-
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/NestedClassesTest.java b/ExampleClasses/src/examples/bloch/experiments/NestedClassesTest.java
deleted file mode 100644
index 070532b..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/NestedClassesTest.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package examples.bloch.experiments;
-public class NestedClassesTest {
- private int val;
- public String toString(){
- return "NESTED TOSTRING";
- }
-
- Comparable c= new Comparable(){
-
- public void foo(){
- boolean val;
- val=false;
- System.out.println(val);
- }
- @Override
- public int compareTo(Object o) {
- return val;
- }};
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/TestCalls.java b/ExampleClasses/src/examples/bloch/experiments/TestCalls.java
deleted file mode 100644
index 71eb74a..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/TestCalls.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package examples.bloch.experiments;
-
-import java.util.ArrayList;
-import java.util.Collections;
-
-public class TestCalls {
-
- public static void main(String[] args) throws Throwable {
- new HierarchyTest();
- new TestCalls();
- // System.out.println(o.toString());
- // NestedClassesTest n = (NestedClassesTest) o;
-
- // System.out.println(n.toString());
- // System.out.println( new HierarchyTest().toString());
-
- TestExceptions.m();
-
-
- Collections.emptyEnumeration();
- new TestCalls().classMethod();
- new HierarchyTest().toString();
- m2();
- new Exception();
- new ArrayList<>();
- }
-
- public static void m2() {
-
- }
-
- public void classMethod() {
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/TestExceptions.java b/ExampleClasses/src/examples/bloch/experiments/TestExceptions.java
deleted file mode 100644
index 9724bd9..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/TestExceptions.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package examples.bloch.experiments;
-
-import java.io.IOException;
-import java.sql.SQLException;
-
-public class TestExceptions {
-
- public static void m() throws Throwable {
- m1();
- try {
- m2();
- } catch (Exception e) {
- e.printStackTrace();
- throw new Exception("ERROR", e);
- }
- }
-
- public static void m1() throws Exception {
-
- }
-
- public static void m2() throws IOException, SQLException {
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/TestSynchro.java b/ExampleClasses/src/examples/bloch/experiments/TestSynchro.java
deleted file mode 100644
index 959394e..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/TestSynchro.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package examples.bloch.experiments;
-
-public class TestSynchro {
-
-
-
- public static synchronized void m() throws InterruptedException{
- new TestSynchro().wait();
- }
- public void m2() throws InterruptedException{
- synchronized(this){
-
- }
- wait();
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/TryCatchFinallyTest.java b/ExampleClasses/src/examples/bloch/experiments/TryCatchFinallyTest.java
deleted file mode 100644
index 03855d2..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/TryCatchFinallyTest.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.bloch.experiments;
-
-public class TryCatchFinallyTest {
-
- public static void main(String[] args) {
- System.out.println("START");
- try {
- System.out.println(1 / 0);
- } catch (Exception e) {
- System.out.println("CACHADO");
- e.printStackTrace();
- }
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/experiments/VarargsTest.java b/ExampleClasses/src/examples/bloch/experiments/VarargsTest.java
deleted file mode 100644
index c875f26..0000000
--- a/ExampleClasses/src/examples/bloch/experiments/VarargsTest.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package examples.bloch.experiments;
-
-public class VarargsTest {
-
- public void foo(int... iarray){
- int i=0;
- System.out.println(iarray[i]);
- }
- public void faa(boolean[] iarray){
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Base.java b/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Base.java
deleted file mode 100644
index b348385..0000000
--- a/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Base.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package examples.bloch.ruledetection.chapter4_17;
-
-public class Base {
-
- protected Base() {
- method();
- method2();
- }
-
- protected void method() {
-
- }
-
- void method2() {
-
- }
-}
diff --git a/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Other.java b/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Other.java
deleted file mode 100644
index e33f8df..0000000
--- a/ExampleClasses/src/examples/bloch/ruledetection/chapter4_17/Other.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.bloch.ruledetection.chapter4_17;
-
-public class Other extends Base {
- int i = 5;
-
- @Override
- public void method2() {
- System.out.println(i);
- }
-
- public static void main(String[] args) {
- new Other();
- }
-}
diff --git a/ExampleClasses/src/examples/classesDependencies/ClassUse.java b/ExampleClasses/src/examples/classesDependencies/ClassUse.java
deleted file mode 100644
index d6c4c2c..0000000
--- a/ExampleClasses/src/examples/classesDependencies/ClassUse.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package examples.classesDependencies;
-
-import java.util.ArrayList;
-import java.util.Collections;
-
-import examples.Constructores;
-import examples.OtherClass;
-
-public class ClassUse implements Interface {
-
-
- Constructores getCOnstructores() {
- return new Constructores();
- }
-
-
-
- private ArrayList l;
-
- // public static Z getZ() {
- // return new Z();
- // }
- public int m() {
- return Collections.emptyMap().size();
- }
-
- public int m(Integer i) {
- return Collections.emptyMap().size();
- }
-
- public int m(String s) {
- return Collections.emptyMap().size();
- }
-
- public int m(Object o) {
- return Collections.emptyMap().size();
- }
-
- public int mm() {
- m("JBOÑL");
- m(1);
- m("MLL".getClass());
- return new ExtraClass().OTHER.n;
- }
-
- public int mmm() {
-
- return getE().getO().n;
- }
-
- public ExtraClass getE() {
- return new ExtraClass();
- }
-
- public Object getI() {
- return OtherClass.InnerClass.n;
- }
-}
diff --git a/ExampleClasses/src/examples/classesDependencies/ExtraClass.java b/ExampleClasses/src/examples/classesDependencies/ExtraClass.java
deleted file mode 100644
index a26aafc..0000000
--- a/ExampleClasses/src/examples/classesDependencies/ExtraClass.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package examples.classesDependencies;
-
-import examples.OtherClass;
-import examples.cmu.SubE;
-
-public class ExtraClass implements Interface {
- public SubE getE() {
- return null;
- }
-
- static {
- ExtraClass e;
- (e = new ExtraClass()).getO();
- e.getO();
- }
-
- public ExtraClass() {
- ExtraClass e;
- (e = new ExtraClass()).getO();
- e.getO();
- }
-
- public static OtherClass getA() {
- return new ExtraClass().OTHER;
- }
-
- public OtherClass getO() {
- return getA();
- }
-
- private static class InnerClass {
- static int n = 0;
- }
-
- public OtherClass OTHER = new OtherClass();
-
-}
diff --git a/ExampleClasses/src/examples/classesDependencies/Interface.java b/ExampleClasses/src/examples/classesDependencies/Interface.java
deleted file mode 100644
index 27f1fa4..0000000
--- a/ExampleClasses/src/examples/classesDependencies/Interface.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package examples.classesDependencies;
-
-public interface Interface {
-
-}
diff --git a/ExampleClasses/src/examples/cmu/A.java b/ExampleClasses/src/examples/cmu/A.java
deleted file mode 100644
index 2deac0c..0000000
--- a/ExampleClasses/src/examples/cmu/A.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package examples.cmu;
-
-import java.io.File;
-import java.io.Serializable;
-
-import examples.classesDependencies.ClassUse;
-
-public class A implements Serializable {
- protected int test;
-
- public static final int m = 3;
- public File f;
- int[] array;
- static int i;
-
- public void a(){
- i++;
- }
-
- public SubA s() {
- System.out.println(s);
- return s;
- }
-
- SubA s;
-
- public int[] getArray() {
- return array;
- }
-
- public void setArray(int index, int val) {
- array[index] = val;
- }
-
- static int staticMethod(String s) {
- return Z.staticMethod(s);
- }
-
- static int staticMethodBis(String s) {
- return A.staticMethodBis(s);
- }
-
- public static void main(String[] args) {
- System.out.println(new A().clone());
- }
-
- // @Override
- public void confusing(int i, String g) {
- synchronized (g) {
-
- }
- // VAR DEC
- // RETURN TYPE
- // new Class
- // Static Member access or ( mInv or Ident, static access implicit-
- // excluding the class itself)
- // Solo Z.m, o Z.A.m, nunca ().().a.m aunque m sea estático
- // Distinguir Z.a.m de Z.A.m symbol(Z.A) classSymbol vs symbol(Z.a)
- // attribute symbol
- // Class IDENT
- // System.out.println(new D().c().b + 2);
- if (this.f != null) {
- int[] array;
- array = null;
- }
- else{
- array[8]++;
- System.out.println("HELLLO");
- }
- this.f = null;
- f = null;
- int[] array;
- this.array[6] = 0;
- array = null;
- new ClassUse();
- // int a = ClassUse.getZ().fff.hashCode() + ClassUse.getZ().confusing(g,
- // i) + 2;
-
- switch ("MKOK".length()) {
- case 3:
- array = null;
-
- case 5:
- break;
- case 6:
- System.out.println(array);
- }
- }
-
- public Object clone() {
- return null;
- }
-
- public void m(A o) {
-
- }
-
- float ff = 7 / 2;
-
- public void convertToFloat() {
- float f = 9.0f;
- System.out.println(ff);
- float ff;
- System.out.println((ff = 7 / 5 / 8 / 2) * 0.9);
- f = f + 5 / 6;
- double d = f;
- }
-
-private final void aaa() {
-
-}
-}
diff --git a/ExampleClasses/src/examples/cmu/C.java b/ExampleClasses/src/examples/cmu/C.java
deleted file mode 100644
index 789b1a8..0000000
--- a/ExampleClasses/src/examples/cmu/C.java
+++ /dev/null
@@ -1,62 +0,0 @@
-
-package examples.cmu;
-
-class C extends A {
- public final A a;
- public int b = 2;
- D d;
-
- public C() {
- int aux;
- aux = 2;
- C c = new C();
- c.d = null;
- a = null;
- b++;
- init();
- d = c.d;
- }
-
- private void init() {
- b--;
- }
- @Override
- public void confusing(int i, String g) {
- g = null;
-
- }
-
- public void m() {
- d = null;
- }
-
- static class SINNER {
- static class II {
- static int b;
- }
- }
-
- private class INNER extends E {
-
- @Override
- public void a() {
-
- }
- public INNER() {
-
- SINNER.II.b = 8;
-
- f = null;
- C.this.f = null;
- array = null;
- C.this.array = null;
- // just d means inherited attr
- C.this.d = null;
-
- this.d = 8;
- d = 3;
- super.d = 3;
-
- }
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/CL.java b/ExampleClasses/src/examples/cmu/CL.java
deleted file mode 100644
index 3c73b0c..0000000
--- a/ExampleClasses/src/examples/cmu/CL.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package examples.cmu;
-
-public class CL extends PT {
-
- @Override
- public PT clone() {
- return this.clone();
- }
-
-}
diff --git a/ExampleClasses/src/examples/cmu/CLC.java b/ExampleClasses/src/examples/cmu/CLC.java
deleted file mode 100644
index 14cb5e3..0000000
--- a/ExampleClasses/src/examples/cmu/CLC.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.cmu;
-
-public class CLC extends PT {
-
-
-
-
-
- @Override
- public PT clone() throws CloneNotSupportedException {
- return super.getMyClon();
- }
-
-}
diff --git a/ExampleClasses/src/examples/cmu/D.java b/ExampleClasses/src/examples/cmu/D.java
deleted file mode 100644
index 2907068..0000000
--- a/ExampleClasses/src/examples/cmu/D.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package examples.cmu;
-
-public class D {
-
- public final A a = null;
- public final int b = 2;
- public final C c = null;
-
- public C c() {
- new PT();
- System.out.println(new C().b + 2);
- c.confusing(2, "");
- C c = new C();
- c.d = null;
- a.array[6] = 9;
- return null;
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/E.java b/ExampleClasses/src/examples/cmu/E.java
deleted file mode 100644
index 2bb3aae..0000000
--- a/ExampleClasses/src/examples/cmu/E.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.cmu;
-
-public class E {
- int d;
-
- public E() {
- d = 5;
- }
-
- public void a() {
- d = 7;
- System.out.println(d);
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/MC.java b/ExampleClasses/src/examples/cmu/MC.java
deleted file mode 100644
index b646b35..0000000
--- a/ExampleClasses/src/examples/cmu/MC.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package examples.cmu;
-
-import java.util.ArrayList;
-
-public class MC extends ArrayList {
-
-}
diff --git a/ExampleClasses/src/examples/cmu/O.java b/ExampleClasses/src/examples/cmu/O.java
deleted file mode 100644
index a0a83cd..0000000
--- a/ExampleClasses/src/examples/cmu/O.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package examples.cmu;
-
-public class O {
-
- public static O a(String s, int i, O o, String ss) {
- return new O();
- }
-
- public static void a(String s, int i, O o, String ss, String another) {
-
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/OMC.java b/ExampleClasses/src/examples/cmu/OMC.java
deleted file mode 100644
index 6e3c65a..0000000
--- a/ExampleClasses/src/examples/cmu/OMC.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package examples.cmu;
-
-import java.util.ArrayList;
-
-public class OMC extends ArrayList {
-
-}
diff --git a/ExampleClasses/src/examples/cmu/PT.java b/ExampleClasses/src/examples/cmu/PT.java
deleted file mode 100644
index 021426a..0000000
--- a/ExampleClasses/src/examples/cmu/PT.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package examples.cmu;
-
-public class PT extends Z implements Cloneable {
-
- public PT getMyClon() throws CloneNotSupportedException {
- return (PT) clone();
- }
-
-}
diff --git a/ExampleClasses/src/examples/cmu/SubA.java b/ExampleClasses/src/examples/cmu/SubA.java
deleted file mode 100644
index 9df8485..0000000
--- a/ExampleClasses/src/examples/cmu/SubA.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package examples.cmu;
-@SuppressWarnings(value = { "" })
-public class SubA extends A {
-
- public SubA() {
- super.array = new int[2];
- f = null;// A F en vez de a THIS
- change(array);
- }
-
- public static int c;
-
- public final D d = null;
- private double[] otherArray;
-
- @Override
- public int[] getArray() {
- return array;
- }
-
- @Override
- public void confusing(int i, String g) { // DOS RELACIONES <-THIS REPETIDAS 'igual deberían ser this y attr'
- // array[2] = 0;
- change(d.a.array); // MAY BE MAL,
- change(this.array);// MAY BE MAL,
- change(array);// NINGUNA, FALTAN A THIS Y A ARRAY
- changee(this);
- changeIns();/*FALTA A THIS, Y A ARRAY OPCIONAL-cada vez más*/ changeIns(array);/*Falta a this, y a array*/changeInsBis();changeInsBisBis();changeInsBisBisBis();
- changeIns(this);
- confusing(i, g);
- }
-
- private static void changee(SubA a) {
- a.array[7] = 5;
- change(a.array);
- }
-
- private static void change(int[] array) {// FALTA A PARAM
- array[7] = 5;
- }
-
- private void changeIns(SubA a) {
- a.array[7] = 5;
- this.otherArray[9]++;
- }
-
- private void changeIns() {// FALTAN THIS y ATTR
- array[7] = 5;// EN VEZ DE THIS, ATTR, tenemos ATTR,ATTR DUP
- }
- private void changeIns(int[] array) {
- array[7] = 5;
- }
-
- private void changeInsBis() {
- array = null;// TAMBIÉN MAL
- }
-
- private void changeInsBisBis() {
- otherArray = null;// BIEN, DEBE SER POR EL ATRIBUTO SUPER
- }
-
- private void changeInsBisBisBis() {
- otherArray[8] = 0;
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/SubA2.java b/ExampleClasses/src/examples/cmu/SubA2.java
deleted file mode 100644
index 2c771bf..0000000
--- a/ExampleClasses/src/examples/cmu/SubA2.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package examples.cmu;
-
-public class SubA2 {
-
- public int[] getArray() {
-
- return null;
- }
-
- // @Override
- public void confusing(int i, String g) {
- }
-
-}
diff --git a/ExampleClasses/src/examples/cmu/SubE.java b/ExampleClasses/src/examples/cmu/SubE.java
deleted file mode 100644
index 86c8b23..0000000
--- a/ExampleClasses/src/examples/cmu/SubE.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package examples.cmu;
-
-public class SubE extends E {
- public void a() {
-
- }
-}
diff --git a/ExampleClasses/src/examples/cmu/SubSubA.java b/ExampleClasses/src/examples/cmu/SubSubA.java
deleted file mode 100644
index 07349b3..0000000
--- a/ExampleClasses/src/examples/cmu/SubSubA.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package examples.cmu;
-@SuppressWarnings(value = { "" })
-public class SubSubA extends A {
-
-}
diff --git a/ExampleClasses/src/examples/cmu/Z.java b/ExampleClasses/src/examples/cmu/Z.java
deleted file mode 100644
index 140dea3..0000000
--- a/ExampleClasses/src/examples/cmu/Z.java
+++ /dev/null
@@ -1,345 +0,0 @@
-package examples.cmu;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.List;
-import java.util.function.Function;
-
-
-import examples.cmu.otherPackage.B;
-import examples.util.EnumExample;
-
-public class Z implements Serializable, Cloneable {
- final int mm = 33 + /* SUMA */99;
-
- public static /* COMMENT */transient File fff;
-
- X id(X x) {
-
- new A().f = null;
- Map m = new HashMap();
-
- return m.put("key", x);
- }
-
- static int staticMethod(String s) {
- return A.staticMethod(s);
- }
-
- public static SubA getSUBA() {
- return new SubA();
- }
-
- public static int X() {
- return 0;
- }
-
- public void ordinal() {
- B b = new B();
- D d;
- EnumExample.FIRST.ordinal();
- }
-
- public void confusing(int i, String g) {
- EnumExample.SECOND.ordinal();
- }
-
- public int confusing(String g, int i) {
- return EnumExample.THIRD.ordinal();
- }
-
- public Object clone() throws CloneNotSupportedException {
- return super.clone();
- }
-
- MC getMC() {
- return null;
- }
-
- OMC getOMC() {
- return null;
- }
-
- public List getC() {
- return null;
- }
-
- public List getRawC() {
- return null;
- }
-
- public int[] getArray() {
- if ("JOJ".contains("JK"))
- return null;
- else
- return "LMLM".length() == 3 ? null : new int[] {};
-
- }
-
- public void closeable() throws IOException {
-
- BufferedReader br = new BufferedReader(new FileReader(new File("NJKNJK"))); // <-----
- BufferedReader br2 = new BufferedReader(new FileReader(new File("NJKNJK")));
- br.close();
- if (8 == "HBUHB".length())
- "IHHHOIJ".toCharArray();
- Function