JavaScript is disabled on your browser.
Package: groovy.transform

[Java] Annotation Type NamedParam


  • @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.PARAMETER)
    @Repeatable(NamedParams.class)
    public @interface NamedParam

    Marker interface used to indicate that the name of the annotated parameter (or specified optional name) is a valid key name when using named arguments and that the parameter type is applicable for type checking purposes.

    Since:
    2.5.0

    • Element Detail

      • public boolean required

        Default:
        false

      • public Class type

        Default:
        Object.class

      • public String value

        Default:
        Undefined.STRING

Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /