Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findAnnotation (0.07 sec)

  1. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

      }
    
      @Suppress("NewApi")
      override fun resolveParameter(
        parameterContext: ParameterContext,
        extensionContext: ExtensionContext,
      ): Any {
        val nameAnnotation = parameterContext.findAnnotation(MockWebServerInstance::class.java)
        val name =
          if (nameAnnotation.isPresent) {
            nameAnnotation.get().name
          } else {
            defaultName
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top