Class KotlinValueParameterFlags

  • All Implemented Interfaces:
    KotlinFlags

    public class KotlinValueParameterFlags
    extends java.lang.Object
    implements KotlinFlags
    Flags for Kotlin value parameters.

    No valid visibility or modality flags.

    hasAnnotations is valid.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean hasAnnotations  
      boolean hasDefaultValue
      Signifies that the corresponding value parameter declares a default value.
      boolean isCrossInline
      Signifies that the corresponding value parameter is `crossinline`.
      boolean isNoInline
      Signifies that the corresponding value parameter is `noinline`.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • hasAnnotations

        public boolean hasAnnotations
      • hasDefaultValue

        public boolean hasDefaultValue
        Signifies that the corresponding value parameter declares a default value. Note that the default value itself can be a complex expression and is not available via metadata. Also note that in case of an override of a parameter with default value, the parameter in the derived method does _not_ declare the default value ([DECLARES_DEFAULT_VALUE] == false), but the parameter is still optional at the call site because the default value from the base method is used.
      • isCrossInline

        public boolean isCrossInline
        Signifies that the corresponding value parameter is `crossinline`.
      • isNoInline

        public boolean isNoInline
        Signifies that the corresponding value parameter is `noinline`.
    • Constructor Detail

      • KotlinValueParameterFlags

        public KotlinValueParameterFlags()