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
-
-
Field Summary
Fields Modifier and Type Field Description booleanhasAnnotationsDeprecated.booleanisDeclarationA member kind flag, signifying that the corresponding function is explicitly declared in the containing class.booleanisDelegationA member kind flag, signifying that the corresponding function exists in the containing class because it has been produced by interface delegation (delegation "by").booleanisExpectSignifies that the corresponding function is `expect`.booleanisExternalSignifies that the corresponding function is `external`.booleanisFakeOverrideA member kind flag, signifying that the corresponding function exists in the containing class because a function with a suitable signature exists in a supertype.booleanisInfixSignifies that the corresponding function is `infix`.booleanisInlineSignifies that the corresponding function is `inline`.booleanisOperatorSignifies that the corresponding function is `operator`.booleanisSuspendSignifies that the corresponding function is `suspend`.booleanisSynthesizedA 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.booleanisTailrecSignifies that the corresponding function is `tailrec`.KotlinModalityFlagsmodalityKotlinVisibilityFlagsvisibility
-
Constructor Summary
Constructors Constructor Description KotlinFunctionFlags(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)
-
-
-
Field Detail
-
visibility
public final KotlinVisibilityFlags visibility
-
modality
public final KotlinModalityFlags modality
-
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`.
-
hasAnnotations
@Deprecated public boolean hasAnnotations
Deprecated.
-
-
Constructor Detail
-
KotlinFunctionFlags
public KotlinFunctionFlags(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)
-
-