Class ProjectViewTargetsSectionParser


  • public class ProjectViewTargetsSectionParser
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String sectionName  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T concatSectionsItems​(T section1, T section2)  
      protected org.jetbrains.bsp.bazel.projectview.model.sections.ProjectViewTargetsSection createInstance​(io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> includedValues, io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> excludedValues)  
      protected T createInstance​(io.vavr.collection.List<V> values)  
      protected ch.epfl.scala.bsp4j.BuildTargetIdentifier mapRawValues​(java.lang.String rawValue)  
      protected io.vavr.control.Option<T> parse​(io.vavr.collection.List<java.lang.String> allEntries)  
      protected io.vavr.control.Option<T> parse​(java.lang.String sectionBody)  
      io.vavr.control.Try<io.vavr.control.Option<T>> parse​(ProjectViewRawSection rawSection)  
      io.vavr.control.Option<T> parse​(ProjectViewRawSections rawSections)  
      io.vavr.control.Option<T> parseOrDefault​(ProjectViewRawSections rawSections, io.vavr.control.Option<T> defaultValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sectionName

        protected final java.lang.String sectionName
    • Constructor Detail

      • ProjectViewTargetsSectionParser

        public ProjectViewTargetsSectionParser()
    • Method Detail

      • mapRawValues

        protected ch.epfl.scala.bsp4j.BuildTargetIdentifier mapRawValues​(java.lang.String rawValue)
      • createInstance

        protected org.jetbrains.bsp.bazel.projectview.model.sections.ProjectViewTargetsSection createInstance​(io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> includedValues,
                                                                                                              io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> excludedValues)
      • concatSectionsItems

        protected T concatSectionsItems​(T section1,
                                        T section2)
      • parse

        protected io.vavr.control.Option<T> parse​(io.vavr.collection.List<java.lang.String> allEntries)
      • createInstance

        protected T createInstance​(io.vavr.collection.List<V> values)
      • parseOrDefault

        public io.vavr.control.Option<T> parseOrDefault​(ProjectViewRawSections rawSections,
                                                        io.vavr.control.Option<T> defaultValue)
      • parse

        protected io.vavr.control.Option<T> parse​(java.lang.String sectionBody)
      • parse

        public io.vavr.control.Try<io.vavr.control.Option<T>> parse​(ProjectViewRawSection rawSection)