class TraversalHelp extends AnyRef
Searches classpath for @Traversal|@TraversalSource and @Doc annotations (via reflection). Used for .help
step.
There are two use cases for this, which require slightly different implementations 1) myDomain.help
- for the node
starter steps 2) myDomain.someNodeType.help
- for steps that are available a specific node type
For use case 2, we also take into account all parent traits of a node type, recursively. I.e. if SomeNodeType
has
a base type SomeBaseType
, and there are steps defined for Traversal[SomeBaseType]
, we will include those in the
results.
- Alphabetic
- By Inheritance
- TraversalHelp
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TraversalHelp(searchPackages: DocSearchPackages)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findStepDocs(traversal: Class[_]): Iterable[StepDoc]
- Attributes
- protected
- def forElementSpecificSteps(elementClass: Class[_], verbose: Boolean)(implicit availableWidthProvider: AvailableWidthProvider): String
- def forTraversalSources(implicit availableWidthProvider: AvailableWidthProvider): String
- lazy val genericNodeStepDocs: Iterable[StepDoc]
- lazy val genericStepDocs: Iterable[StepDoc]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val stepDocsByElementType: Map[Class[_], List[StepDoc]]
Scans the entire classpath for classes annotated with @TraversalExt (using java reflection), to then extract the \@Doc annotations for all steps, and group them by the elementType (e.g.
Scans the entire classpath for classes annotated with @TraversalExt (using java reflection), to then extract the \@Doc annotations for all steps, and group them by the elementType (e.g. node.Method).
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()