Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for getLine (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

                super(location)
                line = location['line'] as int
                column = location['column'] as int
                length = location['length'] as int
            }
    
            @Override
            int getLine() {
                line
            }
    
            @Override
            int getColumn() {
                column
            }
    
            @Override
            int getLength() {
                length
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProblemsProgressEventConsumer.java

                    LineInFileLocation fileLocation = (LineInFileLocation) location;
                    return new org.gradle.internal.build.event.types.DefaultLineInFileLocation(fileLocation.getPath(), fileLocation.getLine(), fileLocation.getColumn(), fileLocation.getLength());
                } else if (location instanceof OffsetInFileLocation) {
                    OffsetInFileLocation fileLocation = (OffsetInFileLocation) location;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                    }
                }
            }
    
            SyntaxException syntaxError = e.getErrorCollector().getSyntaxError(0);
            int lineNumber = syntaxError == null ? -1 : syntaxError.getLine();
            String message = String.format("Could not compile %s.", source.getDisplayName());
            throw ((InternalProblems) getProblemsService()).getInternalReporter().throwing(builder -> builder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                if (value instanceof LineInFileLocation) {
                    out.name("subtype").value("lineInFile");
                    LineInFileLocation l = (LineInFileLocation) value;
                    out.name("line").value(l.getLine());
                    out.name("column").value(l.getColumn());
                    out.name("length").value(l.getLength());
                } else if (value instanceof OffsetInFileLocation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

                    AbstractLibrary library = (AbstractLibrary) entry;
                    final File file = library.getLibrary().getFile();
                    final File source = library.getSourcePath() == null ? null : library.getSourcePath().getFile();
                    final File javadoc = library.getJavadocPath() == null ? null : library.getJavadocPath().getFile();
                    DefaultEclipseExternalDependency dependency;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            }
        }
    
        private static boolean hasGroovyPropertyRequests(List<CallInterceptionRequest> requests) {
            return requests.stream().anyMatch(it -> it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_GETTER || it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_SETTER);
        }
    
        @SuppressWarnings("ReturnValueIgnored")
        private static CodeBlock interceptorClassJavadoc(Collection<CallInterceptionRequest> requests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagonManager.getArtifact(artifact, repo, null, false);
    
            assertTrue(artifact.getFile().exists());
            assertEquals("expected", FileUtils.fileRead(artifact.getFile(), "UTF-8"));
        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

        @VisibleForTesting
        void buildProblem(Diagnostic<? extends JavaFileObject> diagnostic, ProblemSpec spec) {
            spec.id(mapKindToId(diagnostic.getKind()), mapKindToLabel(diagnostic.getKind()), GradleCoreProblemGroup.compilation().java());
            spec.severity(mapKindToSeverity(diagnostic.getKind()));
            addFormattedMessage(spec, diagnostic);
            addDetails(spec, diagnostic);
            addLocations(spec, diagnostic);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
            when(project.getFile()).thenReturn(new File(basedir, "maven-embedder/pom.xml"));
            when(event.getProject()).thenReturn(project);
    
            MavenProject rootProject = mock(MavenProject.class);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
        private void installIntoProjectLocalRepository(Artifact artifact) {
            Path target = getArtifactPath(artifact);
            try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top