-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into java8inference
- Loading branch information
Showing
33 changed files
with
128 additions
and
102 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
2 changes: 1 addition & 1 deletion
2
...k/common/util/report/qual/ReportCall.java → ...on/util/count/report/qual/ReportCall.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
2 changes: 1 addition & 1 deletion
2
...mmon/util/report/qual/ReportCreation.java → ...til/count/report/qual/ReportCreation.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
2 changes: 1 addition & 1 deletion
2
...ommon/util/report/qual/ReportInherit.java → ...util/count/report/qual/ReportInherit.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
2 changes: 1 addition & 1 deletion
2
...mmon/util/report/qual/ReportOverride.java → ...til/count/report/qual/ReportOverride.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
2 changes: 1 addition & 1 deletion
2
...mon/util/report/qual/ReportReadWrite.java → ...il/count/report/qual/ReportReadWrite.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
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
2 changes: 1 addition & 1 deletion
2
...rk/common/util/report/qual/ReportUse.java → ...mon/util/count/report/qual/ReportUse.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
2 changes: 1 addition & 1 deletion
2
.../common/util/report/qual/ReportWrite.java → ...n/util/count/report/qual/ReportWrite.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
https://github.com/kelloggm/wpi-many-tests-bcel-util bed1372c5c6de5c90f3a17d5ce228b882faa0da2 | ||
https://github.com/kelloggm/wpi-many-tests-bibtex-clean 14770af9a6c973fd8a7920e22e40a501ba6fd2dc | ||
https://github.com/kelloggm/wpi-many-tests-ensures-called-methods 20361e992d8c24aa48de62f1130f977d6b3c0ef1 | ||
https://github.com/kelloggm/wpi-many-tests-html-pretty-print 96eb875ca7c9a67d6e3d61d634011c7354064dab | ||
https://github.com/kelloggm/-wpi-many-tests-bibtex-clean c7715b8a60dd296926cc64d0bba9761caca88ab0 | ||
https://github.com/kelloggm/wpi-many-tests-bcel-util b8f661c24014328e4cef6f55b2772cc5e62233df | ||
https://github.com/kelloggm/wpi-many-tests-bibtex-clean 2d82118d66f118d89f2f69c847badd5179e34c0a | ||
https://github.com/kelloggm/wpi-many-tests-ensures-called-methods 326bc8abfcf635c97b13f1e8d6df9f4b1c7d4bfe | ||
https://github.com/kelloggm/wpi-many-tests-html-pretty-print f4a7268f8f6e7014db59d208e6c0e8fae72ec0fd | ||
https://github.com/kelloggm/-wpi-many-tests-bibtex-clean 28fb7e20f011fc754112ead28d6a81eb0093b392 | ||
# This comment line tests that the commenting feature works (if it doesn't, then this line will be read and fail, as it's not a URL). | ||
https://github.com/Nargeshdb/wpi-many-tests-owning-field 1b73c81021f598717226243f99417c0cad54be82 | ||
https://github.com/Nargeshdb/wpi-many-tests-owning-field f98270f6de95061df5faa9eba7f6c2fc27bc0de6 |
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
40 changes: 40 additions & 0 deletions
40
framework/src/main/java/org/checkerframework/common/util/count/report/ReportChecker.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,40 @@ | ||
package org.checkerframework.common.util.count.report; | ||
|
||
import javax.annotation.processing.SupportedOptions; | ||
import org.checkerframework.common.basetype.BaseTypeChecker; | ||
|
||
/** | ||
* The Report Checker performs semantic searches over a program, for example, to find all methods | ||
* that override a specific method, all classes that inherit from a specific class, or all uses of | ||
* do-while-loops (and not also while loops!). | ||
* | ||
* <p>The search is specified in two different ways. | ||
* | ||
* <p>The first way is to write a stub specification file using the annotations in {@code | ||
* org.checkerframework.common.util.count.report.qual.*}. You can see examples in the Checker | ||
* Framework repository at {@code framework/tests/report/reporttest.astub} and {@code | ||
* framework/jtreg/StubParserEnum/AnnotationFileParserEnum.astub}. | ||
* | ||
* <p>The second way is the {@code -AreportTreeKinds} and {@code -AreportModifiers} options, which | ||
* search for specific tree kinds or modifiers. | ||
* | ||
* <p>Some similar features are available from IDEs (e.g., show references), but this tool provides | ||
* much more flexibility and a command-line tool. | ||
* | ||
* <p>Options: | ||
* | ||
* <ul> | ||
* <li><code>-AreportTreeKinds</code>: comma-separated list of <code>Tree.Kind</code>s that should | ||
* be reported | ||
* <li><code>-AreportModifiers</code>: comma-separated list of modifiers that should be reported | ||
* </ul> | ||
* | ||
* @see org.checkerframework.common.util.count.AnnotationStatistics | ||
* @see org.checkerframework.common.util.count.JavaCodeStatistics | ||
*/ | ||
@SupportedOptions({"reportTreeKinds", "reportModifiers"}) | ||
public class ReportChecker extends BaseTypeChecker { | ||
|
||
/** Creates a ReportChecker. */ | ||
public ReportChecker() {} | ||
} |
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
File renamed without changes.
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
19 changes: 0 additions & 19 deletions
19
framework/src/main/java/org/checkerframework/common/util/report/DoNothingChecker.java
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
framework/src/main/java/org/checkerframework/common/util/report/ReportChecker.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.