Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for TreeFormatter (0.17 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java

    /**
     * Constructs a tree of diagnostic messages.
     */
    public class TreeFormatter implements DiagnosticsVisitor {
        private final StringBuilder buffer = new StringBuilder();
        private final AbstractStyledTextOutput original;
        private Node current;
        private Prefixer prefixer = new DefaultPrefixer();
    
        public TreeFormatter() {
            this.original = new AbstractStyledTextOutput() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousGraphVariantsFailureDescriber.java

            AttributeDescriber describer = AttributeDescriberSelector.selectDescriber(failure.getRequestedAttributes(), schema);
            TreeFormatter formatter = new TreeFormatter();
            Map<String, ResolutionCandidateAssessor.AssessedCandidate> ambiguousVariants = summarizeAmbiguousVariants(failure, describer, formatter, true);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

        @Override
        public void vetoParameters(ClassGenerator.GeneratedConstructor<?> constructor, Object[] parameters) {
            for (Object param : parameters) {
                if (param == null) {
                    TreeFormatter formatter = new TreeFormatter();
                    formatter.node("Null value provided in parameters ");
                    formatter.appendValues(parameters);
                    throw new IllegalArgumentException(formatter.toString());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java

        }
    
        private String buildNoMatchingGraphVariantSelectionFailureMsg(StyledAttributeDescriber describer, IncompatibleGraphVariantFailure failure, FailureSubType failureSubType) {
            TreeFormatter formatter = new TreeFormatter();
            String targetVariantText = style(StyledTextOutput.Style.Info, failure.getRequestedName());
            if (failure.getRequestedAttributes().isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:02:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/validation/TypeValidationProblemRenderer.java

        }
    
        public static String renderMinimalInformationAbout(Problem problem, boolean renderDocLink, boolean renderSolutions) {
            TreeFormatter formatter = new TreeFormatter();
            formatter.node(endLineWithDot(Optional.ofNullable(problem.getContextualLabel()).orElseGet(() -> problem.getDefinition().getId().getDisplayName())));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         * @return the display name
         */
        String getDisplayName();
    
        /**
         * Appends diagnostic information about the contents of this collection to the given formatter.
         */
        TreeFormatter describeContents(TreeFormatter formatter);
    
        /**
         * Calculates the execution time value of this file collection. The resulting value is serialized to the configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/VersionConflictException.java

        }
    
        public Collection<Conflict> getConflicts() {
            return conflicts;
        }
    
        private static String buildMessage(Collection<Conflict> conflicts) {
            TreeFormatter formatter = new TreeFormatter();
    
            String plural = getPluralEnding(conflicts);
            formatter.node("Conflict" + plural + " found for the following module" + plural);
            formatter.startChildren();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/MissingAttributeAmbiguousGraphVariantsFailureDescriber.java

            assert distinguishingAttribute != null;
    
            AttributeDescriber describer = AttributeDescriberSelector.selectDescriber(failure.getRequestedAttributes(), schema);
            TreeFormatter formatter = new TreeFormatter();
            summarizeAmbiguousVariants(failure, describer, formatter, false);
            buildSpecificAttributeSuggestionMsg(failure, distinguishingAttribute, formatter);
            return formatter.toString();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:12:53 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                }
    
                generatedClass = generationVisitor.generate();
            } catch (ClassGenerationException e) {
                throw e;
            } catch (Throwable e) {
                TreeFormatter formatter = new TreeFormatter();
                formatter.node("Could not generate a decorated class for type ");
                formatter.appendType(type);
                formatter.append(".");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

        @Override
        public String toString() {
            return getDisplayName();
        }
    
        /**
         * This is final - override {@link #appendContents(TreeFormatter)}  instead to add type specific content.
         */
        @Override
        public final TreeFormatter describeContents(TreeFormatter formatter) {
            formatter.node("collection type: ").appendType(getClass()).append(" (id: ").append(String.valueOf(System.identityHashCode(this))).append(")");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top