-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from retronym/topic/java-statics
Add support for Java-defined static members
- Loading branch information
Showing
18 changed files
with
98 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...unctional-tests/src/test/java-class-missing-static-method-in-new-version-nok/problems.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
method foo()Int in class A does not have a correspondent in new version |
3 changes: 3 additions & 0 deletions
3
...r/functional-tests/src/test/java-class-missing-static-method-in-new-version-nok/v1/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public class A { | ||
public static int foo() { return 42; } | ||
} |
2 changes: 2 additions & 0 deletions
2
...r/functional-tests/src/test/java-class-missing-static-method-in-new-version-nok/v2/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public class A { | ||
} |
4 changes: 4 additions & 0 deletions
4
reporter/functional-tests/src/test/java-class-static-to-virtual-method-nok/problems.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
method foo(A)Int in class A does not have a correspondent in new version | ||
non-static method bar()Int in class A is static in new version | ||
non-static field fld in class A is static in new version | ||
method this()Unit in class A#Nested does not have a correspondent in new version |
6 changes: 6 additions & 0 deletions
6
reporter/functional-tests/src/test/java-class-static-to-virtual-method-nok/v1/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
public class A { | ||
public static int fld; | ||
public static int foo(A a) { return 42; } | ||
public static int bar() { return 42; } | ||
public static class Nested {} | ||
} |
6 changes: 6 additions & 0 deletions
6
reporter/functional-tests/src/test/java-class-static-to-virtual-method-nok/v2/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
public class A { | ||
public int fld; | ||
public int foo() { return 42; } | ||
public int bar() { return 42; } | ||
public class Nested {} | ||
} |
4 changes: 4 additions & 0 deletions
4
reporter/functional-tests/src/test/java-class-virtual-to-static-method-nok/problems.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
static field fld in class A is non-static in new version | ||
static method bar()Int in class A is non-static in new version | ||
method foo()Int in class A does not have a correspondent in new version | ||
method this(A)Unit in class A#Nested does not have a correspondent in new version |
6 changes: 6 additions & 0 deletions
6
reporter/functional-tests/src/test/java-class-virtual-to-static-method-nok/v1/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
public class A { | ||
public int fld; | ||
public int foo() { return 42; } | ||
public int bar() { return 42; } | ||
public class Nested {} | ||
} |
6 changes: 6 additions & 0 deletions
6
reporter/functional-tests/src/test/java-class-virtual-to-static-method-nok/v2/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
public class A { | ||
public static int fld; | ||
public static int foo(A a) { return 42; } | ||
public static int bar() { return 42; } | ||
public static class Nested {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters