- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for lineInFileLocation (0.41 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/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/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. * * @since 8.6 */ @Incubating 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: Mon Dec 11 13:33:01 UTC 2023 - 1.8K 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/main/java/org/gradle/tooling/events/problems/internal/DefaultLineInFileLocation.java
* limitations under the License. */ package org.gradle.tooling.events.problems.internal; import org.gradle.tooling.events.problems.LineInFileLocation; public class DefaultLineInFileLocation extends DefaultFileLocation implements LineInFileLocation { private final int line; private final int column; private final int length;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:33:01 UTC 2023 - 1.3K 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)