jet.runtime.typeinfo
Annotation Type JetMethod


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface JetMethod

Annotation for method The fact of receiver presence must be deducted from presence of '$receiver' parameter


Optional Element Summary
 int flags
          See JvmStdlibNames
 int kind
          Deprecated. See JvmStdlibNames - now kind is kept in flags
 boolean nullableReturnType
          Deprecated. - now it kept in flags
 java.lang.String propertyType
          If this is property.
 java.lang.String returnType
          Return type type unless java type is correct Kotlin type.
 JetTypeProjection[] returnTypeProjections
          Deprecated. not used any more
 java.lang.String typeParameters
          Serialized method type parameters.
 

kind

public abstract int kind
Deprecated. See JvmStdlibNames - now kind is kept in flags

See CallableMemberDescriptor.Kind

Returns:
kind of this method
Default:
0

flags

public abstract int flags
See JvmStdlibNames

Returns:
flags for method
Default:
0

returnTypeProjections

public abstract JetTypeProjection[] returnTypeProjections
Deprecated. not used any more

Returns:
type projections or empty
Default:
{}

typeParameters

public abstract java.lang.String typeParameters
Serialized method type parameters.

Returns:
Default:
""

nullableReturnType

public abstract boolean nullableReturnType
Deprecated. - now it kept in flags

Returns:
is this type returnTypeNullable
Default:
false

returnType

public abstract java.lang.String returnType
Return type type unless java type is correct Kotlin type.

Default:
""

propertyType

public abstract java.lang.String propertyType
If this is property.

Returns:
Default:
""