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 'this$receiver' parameter

Author:
alex.tkachman

Optional Element Summary
 int flags
          See JvmStdlibNames
 int kind
          See CallableMemberDescriptor.Kind
 boolean nullableReturnType
           
 String propertyType
          If this is property.
 String returnType
          Return type type unless java type is correct Kotlin type.
 JetTypeProjection[] returnTypeProjections
           
 String typeParameters
          Serialized method type parameters.
 

kind

public abstract int kind
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
Returns:
type projections or empty
Default:
{}

typeParameters

public abstract String typeParameters
Serialized method type parameters.

Returns:
Default:
""

nullableReturnType

public abstract boolean nullableReturnType
Returns:
is this type returnTypeNullable
Default:
false

returnType

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

Default:
""

propertyType

public abstract String propertyType
If this is property.

Returns:
Default:
""


Copyright © 2012. All Rights Reserved.