- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for lineInFileLocation (0.45 sec)
-
platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/LineInFileLocation.java
* <p> * The line and column coordinates are one-indexed so that they can be easily matched to the content of a UI editor interface. */ public interface LineInFileLocation extends FileLocation { /** * The line number within the file. * <p> * The line is <b>one-indexed</b>, i.e. the first line in the file is line number 1. * * @return the line number
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy
when: diagnosticToProblemListener.buildProblem(diagnostic, spec) then: 1 * spec.fileLocation("SomeFile.java") 0 * spec.lineInFileLocation(_) 0 * spec.lineInFileLocation(_, _, _) 0 * spec.lineInFileLocation(_, _, _, _) 0 * spec.offsetInFileLocation(_, _, _, _) } def "file location, and line is correctly reported"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:58:13 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/validation/DelegatingProblemBuilder.java
return validateDelegate(delegate.fileLocation(path)); } @Override public InternalProblemBuilder lineInFileLocation(String path, int line) { return validateDelegate(delegate.lineInFileLocation(path, line)); } @Override public InternalProblemBuilder lineInFileLocation(String path, int line, int column) { return validateDelegate(delegate.offsetInFileLocation(path, line, column)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy
definition.severity == Severity.WARNING locations.size() == 2 (locations[0] as LineInFileLocation).path == "build file '$buildFile.path'" // FIXME: the path should not contain a prefix nor extra quotes (locations[1] as LineInFileLocation).path == "build file '$buildFile.path'" additionalData instanceof GeneralData additionalData.asMap['type'] == 'USER_CODE_DIRECT'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy
it.${targetVersion < GradleVersion.version("8.8") ? 'label("shortProblemMessage").category("main", "sub", "id")' : 'id("id", "shortProblemMessage")' } $documentationConfig .lineInFileLocation("/tmp/foo", 1, 2, 3) $detailsConfig .additionalData("aKey", "aValue") .severity(Severity.WARNING) .solution("try this instead") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 11:36:58 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/InternalProblemSpec.java
@Override InternalProblemSpec fileLocation(String path); @Override InternalProblemSpec lineInFileLocation(String path, int line); @Override InternalProblemSpec lineInFileLocation(String path, int line, int column); @Override InternalProblemSpec lineInFileLocation(String path, int line, int column, int length); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/InternalProblemBuilder.java
InternalProblemBuilder documentedAt(String url); @Override InternalProblemBuilder fileLocation(String path); @Override InternalProblemBuilder lineInFileLocation(String path, int line); @Override InternalProblemBuilder lineInFileLocation(String path, int line, int column, int length); @Override InternalProblemBuilder offsetInFileLocation(String path, int offset, int length); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/api/problems/ProblemSpec.java
* Declares that this problem is in a file on a line. * * @param path the file location * @param line the one-indexed line number * @return this * @since 8.6 */ ProblemSpec lineInFileLocation(String path, int line); /** * Declares that this problem is in a file with on a line at a certain position. * <p> * * @param path the file location
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:08 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProblemsProgressEventConsumer.java
private static List<InternalLocation> toInternalLocations(List<ProblemLocation> locations) { return locations.stream().map(location -> { if (location instanceof LineInFileLocation) { LineInFileLocation fileLocation = (LineInFileLocation) location;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 12K bytes - Viewed (0)