Added JetMethod.flags() to replace kind(), with adding extra functionality (modality and visibility marking).
This commit is contained in:
@@ -33,10 +33,18 @@ import java.lang.annotation.Target;
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface JetMethod {
|
||||
int KIND_REGULAR = 0;
|
||||
int KIND_PROPERTY = 1;
|
||||
|
||||
int kind() default KIND_REGULAR;
|
||||
/**
|
||||
* @deprecated use flags instead
|
||||
*/
|
||||
@Deprecated
|
||||
int kind() default 0;
|
||||
|
||||
/**
|
||||
* Bit 0 - property/not property
|
||||
*
|
||||
* @return flags for method
|
||||
*/
|
||||
int flags() default 0;
|
||||
|
||||
/**
|
||||
* @return type projections or empty
|
||||
|
||||
Reference in New Issue
Block a user