forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
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 diffblue#2517 from jeannielynnmoulton/jeannie/Inne…
…rStaticClasses Captures static inner class information
- Loading branch information
Showing
14 changed files
with
136 additions
and
0 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
Binary file added
BIN
+387 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$1.class
Binary file not shown.
Binary file added
BIN
+467 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$1LocalClassInNonStatic.class
Binary file not shown.
Binary file added
BIN
+381 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$1LocalClassInStatic.class
Binary file not shown.
Binary file added
BIN
+464 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$2.class
Binary file not shown.
Binary file added
BIN
+430 Bytes
.../unit/java_bytecode/java_bytecode_parser/StaticInnerClass$PublicNonStaticInnerClass.class
Binary file not shown.
Binary file added
BIN
+353 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$PublicStaticInnerClass.class
Binary file not shown.
Binary file added
BIN
+241 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass$SomeInterface.class
Binary file not shown.
Binary file added
BIN
+996 Bytes
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass.class
Binary file not shown.
33 changes: 33 additions & 0 deletions
33
jbmc/unit/java_bytecode/java_bytecode_parser/StaticInnerClass.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,33 @@ | ||
public class StaticInnerClass { | ||
public static interface SomeInterface { | ||
public int i = 0; | ||
} | ||
public static class PublicStaticInnerClass { | ||
public int i; | ||
public PublicStaticInnerClass(int i) { | ||
this.i = i; | ||
} | ||
} | ||
public class PublicNonStaticInnerClass { | ||
public int i; | ||
public PublicNonStaticInnerClass(int i) { | ||
this.i = i; | ||
} | ||
} | ||
public static SomeInterface staticAnonymousClass = new SomeInterface() { | ||
public int i = 50; | ||
}; | ||
public SomeInterface anonymousClass = new SomeInterface() { | ||
public int i = 25; | ||
}; | ||
public void testNonStatic() { | ||
class LocalClassInNonStatic { | ||
public int i = 1; | ||
} | ||
} | ||
public static void testStatic() { | ||
class LocalClassInStatic { | ||
public int i = 2; | ||
} | ||
} | ||
} |
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