Class ScanTypeFactory

java.lang.Object
io.helidon.codegen.scan.ScanTypeFactory

public final class ScanTypeFactory extends Object
Factory for types based on classpath scanning.
  • Method Summary

    Modifier and Type
    Method
    Description
    static TypeName
    create(io.github.classgraph.ClassInfo classInfo)
    Creates a name from a class info from classpath scanning.
    static TypeName
    create(io.github.classgraph.HierarchicalTypeSignature signature)
    Creates a type name for a classpath scanning type with possible generic declaration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static TypeName create(io.github.classgraph.ClassInfo classInfo)
      Creates a name from a class info from classpath scanning.
      Parameters:
      classInfo - the element type
      Returns:
      the associated type name instance
    • create

      public static TypeName create(io.github.classgraph.HierarchicalTypeSignature signature)
      Creates a type name for a classpath scanning type with possible generic declaration.
      Parameters:
      signature - signature to use
      Returns:
      type name for the provided signature