Interface KaptArguments

  • All Implemented Interfaces:

    
    public interface KaptArguments
    
                        

    A DSL to specify arguments that are used during kapt processing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit arg(Object name, Object values) Adds argument with the specified name and values.
      abstract Unit arg(String name, String values) Adds argument with the specified name and values.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • arg

        @Deprecated(message = "This function with Any parameters is scheduled for removal in Kotlin 2.2. Consider migrating to the function with String parameters.", replaceWith = @ReplaceWith(imports = {}, expression = "arg(name.toString(), *values.map { it.toString() }.toTypedArray())")) abstract Unit arg(Object name, Object values)

        Adds argument with the specified name and values.

        Expected name and values type is String.

      • arg

         abstract Unit arg(String name, String values)

        Adds argument with the specified name and values.