Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ClassSource (0.14 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/ClassSource.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.internal.catalog;
    
    public interface ClassSource {
        String getPackageName();
        String getSimpleClassName();
        String getSource();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 777 bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompiler.java

            List<File> filesToCompile = Lists.newArrayListWithCapacity(classes.size());
            for (ClassSource classSource : classes) {
                String packageName = classSource.getPackageName();
                String className = classSource.getSimpleClassName();
                String classCode = classSource.getSource();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompilerTest.groovy

                    assert version == 52
                }
            }
            ClassReader reader = new ClassReader(clazz.bytes)
            reader.accept(cv, 0)
        }
    
        ClassSource source(String className, String classSource) {
            new ClassSource() {
                @Override
                String getPackageName() {
                    'org.test'
                }
    
                @Override
                String getSimpleClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

            }
    
            protected abstract List<ClassSource> getClassSources();
    
            @Override
            public WorkOutput execute(ExecutionRequest executionRequest) {
                File workspace = executionRequest.getWorkspace();
                File srcDir = new File(workspace, OUT_SOURCES);
                File dstDir = new File(workspace, OUT_CLASSES);
                List<ClassSource> sources = getClassSources();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  5. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

            }
    
            private Optional<String> className(TestDescriptor descriptor) {
                return descriptor.getSource()
                    .filter(ClassSource.class::isInstance)
                    .map(ClassSource.class::cast)
                    .map(ClassSource::getClassName);
            }
        }
    
        private static class BackwardsCompatibleLauncherSession implements AutoCloseable {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestExecutionListener.java

        private static String className(@Nullable TestIdentifier testClassIdentifier) {
            if (testClassIdentifier != null) {
                Optional<ClassSource> classSource = getClassSource(testClassIdentifier);
                if (classSource.isPresent()) {
                    return classSource.get().getClassName();
                }
            }
            return JUnitSupport.UNKNOWN_CLASS;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:25 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

                    }
                }
                return null
            }
    
        }
    
        @Canonical
        static class TestClassSource implements ClassSource {
    
            final String className
            final String classSource
    
            @Override
            String getPackageName() {
                'org.test'
            }
    
            @Override
            String getSimpleClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

            boolean javadocContains(String text) {
                javadoc.any { it.contains(text) }
            }
        }
    
        @Canonical
        static class TestClassSource implements ClassSource {
    
            final String className
            final String classSource
    
            @Override
            String getPackageName() {
                'org.test'
            }
    
            @Override
            String getSimpleClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top