public class KotlinFunctionFlags extends java.lang.Object implements KotlinFlags
Valid common flags: - hasAnnotations - isInternal - isPrivate - isProtected - isPublic - isPrivateToThis - isLocal - isFinal - isOpen - isAbstract - isSealed
Modifier and Type | Field and Description |
---|---|
boolean |
hasAnnotations |
boolean |
isDeclaration
A member kind flag, signifying that the corresponding function is explicitly declared in the
containing class.
|
boolean |
isDelegation
A member kind flag, signifying that the corresponding function exists in the containing class
because it has been produced by interface delegation (delegation "by").
|
boolean |
isExpect
Signifies that the corresponding function is `expect`.
|
boolean |
isExternal
Signifies that the corresponding function is `external`.
|
boolean |
isFakeOverride
A member kind flag, signifying that the corresponding function exists in the containing class
because a function with a suitable signature exists in a supertype.
|
boolean |
isInfix
Signifies that the corresponding function is `infix`.
|
boolean |
isInline
Signifies that the corresponding function is `inline`.
|
boolean |
isOperator
Signifies that the corresponding function is `operator`.
|
boolean |
isSuspend
Signifies that the corresponding function is `suspend`.
|
boolean |
isSynthesized
A member kind flag, signifying that the corresponding function exists in the containing class
because it has been synthesized by the compiler and has no declaration in the source code.
|
boolean |
isTailrec
Signifies that the corresponding function is `tailrec`.
|
KotlinModalityFlags |
modality |
KotlinVisibilityFlags |
visibility |
Constructor and Description |
---|
KotlinFunctionFlags(KotlinVisibilityFlags visibility,
KotlinModalityFlags modality) |
public final KotlinVisibilityFlags visibility
public final KotlinModalityFlags modality
public boolean hasAnnotations
public boolean isDeclaration
public boolean isFakeOverride
public boolean isDelegation
public boolean isSynthesized
public boolean isOperator
public boolean isInfix
public boolean isInline
public boolean isTailrec
public boolean isExternal
public boolean isSuspend
public boolean isExpect
public KotlinFunctionFlags(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)