Package proguard.classfile.kotlin.flags
Class KotlinFunctionFlags
- java.lang.Object
-
- proguard.classfile.kotlin.flags.KotlinFunctionFlags
-
- All Implemented Interfaces:
KotlinFlags
public class KotlinFunctionFlags extends java.lang.Object implements KotlinFlags
Flags for Kotlin functions.Valid common flags: - hasAnnotations - isInternal - isPrivate - isProtected - isPublic - isPrivateToThis - isLocal - isFinal - isOpen - isAbstract - isSealed
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description KotlinFunctionFlags(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)
-
-
-
Field Detail
-
visibility
public final KotlinVisibilityFlags visibility
-
modality
public final KotlinModalityFlags modality
-
hasAnnotations
public boolean hasAnnotations
-
isDeclaration
public boolean isDeclaration
A member kind flag, signifying that the corresponding function is explicitly declared in the containing class.
-
isFakeOverride
public 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. This flag is not written by the Kotlin compiler and its effects are unspecified.
-
isDelegation
public 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").
-
isSynthesized
public 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.
-
isOperator
public boolean isOperator
Signifies that the corresponding function is `operator`.
-
isInfix
public boolean isInfix
Signifies that the corresponding function is `infix`.
-
isInline
public boolean isInline
Signifies that the corresponding function is `inline`.
-
isTailrec
public boolean isTailrec
Signifies that the corresponding function is `tailrec`.
-
isExternal
public boolean isExternal
Signifies that the corresponding function is `external`.
-
isSuspend
public boolean isSuspend
Signifies that the corresponding function is `suspend`.
-
isExpect
public boolean isExpect
Signifies that the corresponding function is `expect`.
-
-
Constructor Detail
-
KotlinFunctionFlags
public KotlinFunctionFlags(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)
-
-