repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/util/OperatorPrecedence.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,024 | 27.009259 | 95 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/util/Signatures.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,073 | 30.7125 | 96 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/IndexedPosition.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,694 | 28.224138 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/package-info.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 723 | 37.105263 | 76 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/AppliedFix.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,359 | 37.561151 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/Replacement.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,329 | 31.361111 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/AdjustedPosition.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,730 | 30.472727 | 90 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/Replacements.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,473 | 37.343891 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 69,740 | 39.359375 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/BranchedSuggestedFixes.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,884 | 28.742268 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 14,715 | 33.383178 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/FixedPosition.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,470 | 26.240741 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/fixes/Fix.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,458 | 27.607843 | 98 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/DataFlow.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 10,879 | 38.42029 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/AccessPath.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,110 | 38.949438 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/ConstantPropagationAnalysis.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,750 | 36.255319 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/AccessPathValues.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 869 | 31.222222 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/AccessPathStore.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,382 | 32.715385 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/NullnessAnalysis.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,386 | 35.723077 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/MethodInfo.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 979 | 27 | 96 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/TrustingNullnessAnalysis.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,593 | 41.378788 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/NullnessPropagationTransfer.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 46,272 | 37.787091 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/NullnessAnnotations.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,885 | 40.287958 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/AbstractNullnessPropagationTransfer.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 43,567 | 38.824497 | 190 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/Nullness.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,134 | 32.08 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/TrustingNullnessPropagation.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,095 | 37.222222 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/NullnessQualifierInference.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 23,477 | 42.72067 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/ProperInferenceVar.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,774 | 25.492537 | 96 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/TypeVariableInferenceVar.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,616 | 40.539683 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/InferenceVariable.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 900 | 36.541667 | 93 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/InferredNullability.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,508 | 40.75 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/dataflow/nullnesspropagation/inference/TypeArgInferenceVar.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,123 | 42.346939 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/names/LevenshteinEditDistance.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,904 | 30.491935 | 98 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/names/TermEditDistance.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,336 | 40.053846 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/names/NamingConventions.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,379 | 36.777778 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/names/NeedlemanWunschEditDistance.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,431 | 38.773585 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/TypePredicate.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 913 | 32.851852 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/TypePredicates.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,290 | 30.04717 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/type/Array.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,021 | 30.9375 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/type/ExactAny.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,510 | 28.627451 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/type/DescendantOfAny.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,527 | 28.960784 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/type/DescendantOf.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,404 | 30.931818 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/predicates/type/Exact.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,344 | 30.27907 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/suppliers/package-info.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 847 | 37.545455 | 95 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/suppliers/Supplier.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 951 | 30.733333 | 87 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/suppliers/Suppliers.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,749 | 31.392027 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/ScannerSupplier.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 12,486 | 39.674267 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/ErrorProneInjector.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,456 | 33.820313 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/ScannerSupplierImpl.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,646 | 31.855856 | 96 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/Scanner.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,065 | 35.710145 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/ErrorProneScannerTransformer.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 2,118 | 35.534483 | 90 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/InstanceReturningScannerSupplierImpl.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,078 | 29.130435 | 96 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/scanner/ErrorProneScanner.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 38,520 | 40.287245 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/bugpatterns/BugChecker.java | /*
* Copyright 2013 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 21,072 | 35.022222 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/FileSource.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 822 | 28.392857 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/IdeaImportOrganizer.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,973 | 31.681319 | 98 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/DiscardingFileDestination.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,091 | 31.117647 | 97 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/DiffNotApplicableException.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,045 | 30.69697 | 87 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/BasicImportOrganizer.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,744 | 31.924528 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/PatchFileDestination.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,890 | 33.416667 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/FileDestination.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 862 | 27.766667 | 75 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/ImportOrganizer.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 6,836 | 32.35122 | 99 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/ImportStatements.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 7,227 | 32.775701 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/Diff.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,137 | 31.514286 | 91 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/DiffSupplier.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,515 | 34.255814 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/SourceFile.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 7,755 | 35.074419 | 97 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/FsFileDestination.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,329 | 30.666667 | 94 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/FsFileSource.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,210 | 30.051282 | 94 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/StaticOrder.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,399 | 30.818182 | 94 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/DescriptionBasedDiff.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 4,686 | 35.333333 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/AndroidImportOrganizer.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,520 | 32.242647 | 100 | java |
error-prone | error-prone-master/check_api/src/main/java/com/google/errorprone/apply/DiffApplier.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 4,781 | 32.208333 | 100 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/ReaderIteratorTest.java | package org.infinispan.cli;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.io.StringReader;
import java.util.Map;
import org.infinispan.cli.util.JsonReaderIterator;
import org.junit.Test;
/**
* @author Tristan Tarrant <tristan@infi... | 2,957 | 36.923077 | 166 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/AeshTestShell.java | package org.infinispan.cli;
import java.util.concurrent.TimeUnit;
import org.aesh.command.shell.Shell;
import org.aesh.readline.Prompt;
import org.aesh.readline.terminal.Key;
import org.aesh.readline.util.Parser;
import org.aesh.terminal.tty.Size;
import org.aesh.terminal.utils.Config;
import org.infinispan.commons.t... | 2,368 | 23.173469 | 142 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/CliPipeTest.java | package org.infinispan.cli;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;
import java.util.Properties;
import jav... | 1,817 | 36.875 | 153 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/user/UserToolTest.java | package org.infinispan.cli.user;
import static org.infinispan.commons.test.CommonsTestingUtil.tmpDirectory;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;... | 6,020 | 46.785714 | 152 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/commands/kubernetes/KubeTest.java | package org.infinispan.cli.commands.kubernetes;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.Map;
import org.junit.Test;
import io.fabric8.kubernetes.api.model.Secret;
/**
* @since 15.0
**/
public class KubeTest {
@Test
public void testKubeSecrets() {
S... | 766 | 26.392857 | 142 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/connection/rest/RestConnectorTest.java | package org.infinispan.cli.connection.rest;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.security.NoSuchAlgorithmException;
import javax.net.ssl.SSLContext;
import java... | 4,292 | 45.16129 | 133 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/printers/TablePrettyPrinterTest.java | package org.infinispan.cli.printers;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import java.util.Map;
import org.infinispan.cli.AeshTestShell;
import org.infinispan.cli.util.JsonReaderIterable;
import org.junit.Test;
/**
* @since... | 1,813 | 31.392857 | 101 | java |
null | infinispan-main/cli/src/test/java/org/infinispan/cli/patching/PatchToolTest.java | package org.infinispan.cli.patching;
import static org.infinispan.cli.util.Utils.sha256;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.File;
imp... | 7,174 | 38.20765 | 130 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/Context.java | package org.infinispan.cli;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import org.aesh.command.CommandException;
import org.aesh.command.CommandResult;
import org.aesh.command.invocation.CommandInvocation;
import org.aesh.command.registry.CommandRegistry... | 2,723 | 22.282051 | 130 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/logging/Messages.java | package org.infinispan.cli.logging;
import java.io.IOException;
import java.net.ConnectException;
import java.nio.file.AccessDeniedException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.NoSuchFileException;
import java.nio.file.Path;
import java.util.NoSuchElementException;
import org.aesh.c... | 9,803 | 36.136364 | 128 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/JsonReaderIterable.java | package org.infinispan.cli.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Iterator;
import java.util.Map;
/**
* @author Tristan Tarrant <tristan@infinispan.org>
* @since 10.0
**/
public class JsonReaderIterable implement... | 724 | 22.387097 | 74 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/TransformingIterator.java | package org.infinispan.cli.util;
import java.util.Iterator;
import java.util.function.Function;
/**
* @since 14.0
**/
public class TransformingIterator<S, T> implements Iterator<T> {
private final Iterator<S> iterator;
private final Function<S, T> transformer;
public TransformingIterator(Iterator<S> itera... | 603 | 20.571429 | 82 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/Utils.java | package org.infinispan.cli.util;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.ByteChannel;
import java.nio.channels.FileChannel;
import java.nio.file.Files;
import java.nio.file.NoSuchFileException;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
import jav... | 1,460 | 31.466667 | 112 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/ReaderIterator.java | package org.infinispan.cli.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public... | 2,537 | 24.897959 | 75 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/TransformingIterable.java | package org.infinispan.cli.util;
import java.util.Iterator;
import java.util.Map;
import java.util.function.Function;
/**
* @since 14.0
**/
public class TransformingIterable<S, T> implements Iterable<T> {
public static Function<Map<String, String>, String> SINGLETON_MAP_VALUE = m -> m.values().iterator().next()... | 697 | 24.851852 | 111 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/JsonReaderIterator.java | package org.infinispan.cli.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import com.fasterxml.jackson.core.JsonFactory;
import c... | 3,709 | 30.982759 | 119 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/SystemUtils.java | package org.infinispan.cli.util;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* SystemUtils.
*
* @author Tristan Tarrant
* @since 5.2
*/
public class SystemUtils {
/**
* Returns an appropriate system-dependent folder for storing application-specific data. The logic in this method
* uses ... | 1,483 | 31.977778 | 116 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/ZeroSecurityHostnameVerifier.java | package org.infinispan.cli.util;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
/**
* @author Tristan Tarrant <tristan@infinispan.org>
* @since 10.0
**/
public class ZeroSecurityHostnameVerifier implements HostnameVerifier {
@Override
public boolean verify(String hostname, SSLS... | 364 | 21.8125 | 71 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/ZeroSecurityTrustManager.java | package org.infinispan.cli.util;
import java.net.Socket;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.X509ExtendedTrustManager;
/**
* @author Tristan Tarrant <tristan@infinispan.org>
* @since 10.0
**/
public c... | 1,314 | 25.836735 | 123 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/util/aesh/graal/NativeMetadataProvider.java | package org.infinispan.cli.util.aesh.graal;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
import org.aesh.command.Command;
import org.aesh.command.container.CommandContainer;
import org.aesh.command.container.CommandContainerBuilder;
import org.aesh... | 4,699 | 42.119266 | 114 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/user/UserTool.java | package org.infinispan.cli.user;
import static org.infinispan.cli.logging.Messages.MSG;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
... | 15,454 | 41.226776 | 186 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/Echo.java | package org.infinispan.cli.commands;
import java.util.List;
import org.aesh.command.Command;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandResult;
import org.aesh.command.option.Arguments;
import org.aesh.command.option.Option;
import org.infinispan.cli.impl.ContextAwareCommandInvocation;
... | 1,253 | 26.866667 | 126 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/Benchmark.java | package org.infinispan.cli.commands;
import java.net.URI;
import java.util.concurrent.TimeUnit;
import org.aesh.command.Command;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandException;
import org.aesh.command.CommandResult;
import org.aesh.command.option.Argument;
import org.aesh.command.... | 6,001 | 44.12782 | 279 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/CLI.java | package org.infinispan.cli.commands;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException... | 18,222 | 42.080378 | 307 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/Ls.java | package org.infinispan.cli.commands;
import java.io.IOException;
import org.aesh.command.Command;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandException;
import org.aesh.command.CommandResult;
import org.aesh.command.option.Argument;
import org.aesh.command.option.Option;
import org.infin... | 2,610 | 37.970149 | 185 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/Connect.java | package org.infinispan.cli.commands;
import java.io.IOException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableKeyException;
import org.aesh.command.Command;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandResult;
imp... | 3,151 | 38.4 | 177 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/Cd.java | package org.infinispan.cli.commands;
import org.aesh.command.Command;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandException;
import org.aesh.command.CommandResult;
import org.aesh.command.option.Argument;
import org.aesh.command.option.Option;
import org.infinispan.cli.activators.Connecti... | 1,244 | 31.763158 | 115 | java |
null | infinispan-main/cli/src/main/java/org/infinispan/cli/commands/SecurityActions.java | package org.infinispan.cli.commands;
import java.security.Provider;
/**
* SecurityActions for the org.infinispan.cli.commands package.
* <p>
* Do not move. Do not change class and method visibility to avoid being called from other
* {@link java.security.CodeSource}s, thus granting privilege escalation to external... | 642 | 28.227273 | 90 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.