jet.runtime.typeinfo
Annotation Type JetValueParameter
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface JetValueParameter
Annotation for parameters
- Author:
- alex.tkachman
name
public abstract String name
- Returns:
- name of parameter
typeProjections
public abstract JetTypeProjection[] typeProjections
- Returns:
- type projections or empty
- Default:
- {}
nullable
public abstract boolean nullable
- Returns:
- is this type nullable
- Default:
- false
hasDefaultValue
public abstract boolean hasDefaultValue
- Returns:
- if this parameter has default value
- Default:
- false
receiver
public abstract boolean receiver
- Returns:
- if this parameter is receiver
- Default:
- false
type
public abstract String type
- Returns:
- type unless Java type is correct Kotlin type.
- Default:
- ""
Copyright © 2012. All Rights Reserved.