In package com.eden.orchid.api.options.extractors

class com.eden.orchid.api.options.extractors.ModularTypeOptionExtractor

Destination Types | Field Type | Annotation | Default Value | |--------------|----------------|----------------------------| | ModularType | @StringDefault | Annotation value() or null |

Constructors

constructor(contextProvider: Provider, mapConverter: FlexibleMapConverter)
Parameters:

Methods

fun getDefaultValue(field: Field): ModularType
Parameters:
  • field: Field
fun describeDefaultValue(field: Field): String
Parameters:
  • field: Field
fun getOption(field: Field, sourceObject: Any, key: String): ModularType
Parameters:
  • field: Field
  • sourceObject: Any
  • key: String
fun acceptsClass(clazz: Class): Boolean
Parameters:
  • clazz: Class