# ExecutableCondition

abstract class ExecutableCondition < E : Executable , R : MemberResolver < E , T >, T : Any > : MemberCondition < E , R , T >

Base class for conditions that are applicable to executable members (methods and constructors) E, R.

T to specify the declaring class type of the executable.

#### Inheritors

ConstructorCondition
MethodCondition

## Constructors

ExecutableCondition
Link copied to clipboard
constructor()

## Types

Companion
Link copied to clipboard
object Companion

## Properties

annotatedExceptionTypes
Link copied to clipboard
val annotatedExceptionTypes : MutableSet < Any >
annotatedExceptionTypesNot
Link copied to clipboard
val annotatedExceptionTypesNot : MutableSet < Any >
annotatedParameterTypes
Link copied to clipboard
val annotatedParameterTypes : MutableSet < Any >
annotatedParameterTypesNot
Link copied to clipboard
val annotatedParameterTypesNot : MutableSet < Any >
annotatedReceiverType
Link copied to clipboard
val annotatedReceiverType : MutableSet < Any >
annotatedReceiverTypeNot
Link copied to clipboard
val annotatedReceiverTypeNot : MutableSet < Any >
annotatedReturnType
Link copied to clipboard
val annotatedReturnType : MutableSet < Any >
annotatedReturnTypeNot
Link copied to clipboard
val annotatedReturnTypeNot : MutableSet < Any >
annotations
Link copied to clipboard
val annotations : MutableSet < Any >
annotationsNot
Link copied to clipboard
val annotationsNot : MutableSet < Any >
exceptionTypes
Link copied to clipboard
val exceptionTypes : MutableSet < Any >
exceptionTypesNot
Link copied to clipboard
val exceptionTypesNot : MutableSet < Any >
genericExceptionTypes
Link copied to clipboard
val genericExceptionTypes : MutableSet < TypeMatcher >
genericExceptionTypesNot
Link copied to clipboard
val genericExceptionTypesNot : MutableSet < TypeMatcher >
genericParameters
Link copied to clipboard
val genericParameters : MutableSet < TypeMatcher >
genericParametersNot
Link copied to clipboard
val genericParametersNot : MutableSet < TypeMatcher >
genericString
Link copied to clipboard
var genericString : String ?
isSynthetic
Link copied to clipboard
var isSynthetic : Boolean ?
isSyntheticNot
Link copied to clipboard
var isSyntheticNot : Boolean ?
isVarArgs
Link copied to clipboard
var isVarArgs : Boolean ?
isVarArgsNot
Link copied to clipboard
var isVarArgsNot : Boolean ?
modifiers
Link copied to clipboard
val modifiers : MutableSet < Modifiers >
modifiersCondition
Link copied to clipboard
var modifiersCondition : ( Set < Modifiers >) -> Boolean ?
modifiersNot
Link copied to clipboard
val modifiersNot : MutableSet < Modifiers >
name
Link copied to clipboard
var name : String ?
nameCondition
Link copied to clipboard
var nameCondition : ( String ) -> Boolean ?
parameterAnnotations
Link copied to clipboard
val parameterAnnotations : MutableList < Set < Any >>
parameterAnnotationsNot
Link copied to clipboard
val parameterAnnotationsNot : MutableList < Set < Any >>
parameterCount
Link copied to clipboard
var parameterCount : Int ?
parameterCountCondition
Link copied to clipboard
var parameterCountCondition : ( Int ) -> Boolean ?
parameters
Link copied to clipboard
val parameters : MutableList < Any >
parametersCondition
Link copied to clipboard
var parametersCondition : ( List < Class <*>>) -> Boolean ?
parametersNot
Link copied to clipboard
val parametersNot : MutableList < Any >
typeParameters
Link copied to clipboard
val typeParameters : MutableSet < TypeMatcher >
typeParametersNot
Link copied to clipboard
val typeParametersNot : MutableSet < TypeMatcher >

## Functions

annotatedExceptionTypes
Link copied to clipboard
open fun annotatedExceptionTypes (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedExceptionTypesNot
Link copied to clipboard
open fun annotatedExceptionTypesNot (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedParameterTypes
Link copied to clipboard
open fun annotatedParameterTypes (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedParameterTypesNot
Link copied to clipboard
open fun annotatedParameterTypesNot (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedReceiverType
Link copied to clipboard
open fun annotatedReceiverType (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedReceiverTypeNot
Link copied to clipboard
open fun annotatedReceiverTypeNot (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedReturnType
Link copied to clipboard
open fun annotatedReturnType (vararg types: Any ): ExecutableCondition < E , R , T >
annotatedReturnTypeNot
Link copied to clipboard
open fun annotatedReturnTypeNot (vararg types: Any ): ExecutableCondition < E , R , T >
annotations
Link copied to clipboard
open fun annotations (vararg annotations: Any ): MemberCondition < E , R , T >
annotationsNot
Link copied to clipboard
open fun annotationsNot (vararg annotations: Any ): MemberCondition < E , R , T >
asResolver
Link copied to clipboard
fun MemberCondition <*, *, *>. asResolver (): MemberCondition <*, *, *>

This is a fake function call chains to avoid internal calls to themselves.

build
Link copied to clipboard
@ JvmOverloads
open fun build (configuration: MemberCondition.Configuration < T >? = null): List < R >

Build the condition with the given configuration.

copy
Link copied to clipboard
abstract fun copy (): MemberCondition < E , R , T >

Create a copy of this condition.

emptyParameters
Link copied to clipboard
open fun emptyParameters (): ExecutableCondition < E , R , T >

Set parameterCount to `0` to match methods with no parameters.

emptyParametersNot
Link copied to clipboard
open fun emptyParametersNot (): ExecutableCondition < E , R , T >

Set parameterCountCondition to check if the method has parameters.

exceptionTypes
Link copied to clipboard
open fun exceptionTypes (vararg types: Any ): ExecutableCondition < E , R , T >
exceptionTypesNot
Link copied to clipboard
open fun exceptionTypesNot (vararg types: Any ): ExecutableCondition < E , R , T >
genericExceptionTypes
Link copied to clipboard
open fun genericExceptionTypes (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >
genericExceptionTypesNot
Link copied to clipboard
open fun genericExceptionTypesNot (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >
genericParameters
Link copied to clipboard
open fun genericParameters (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >
genericParametersNot
Link copied to clipboard
open fun genericParametersNot (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >
genericString
Link copied to clipboard
open fun genericString (genericString: String ): MemberCondition < E , R , T >
isSynthetic
Link copied to clipboard
open fun isSynthetic (isSynthetic: Boolean ): MemberCondition < E , R , T >
isSyntheticNot
Link copied to clipboard
open fun isSyntheticNot (isSynthetic: Boolean ): MemberCondition < E , R , T >
isVarArgs
Link copied to clipboard
open fun isVarArgs (isVarArgs: Boolean ): ExecutableCondition < E , R , T >
isVarArgsNot
Link copied to clipboard
open fun isVarArgsNot (isVarArgs: Boolean ): ExecutableCondition < E , R , T >
modifiers
Link copied to clipboard
open fun modifiers (vararg modifiers: Modifiers ): MemberCondition < E , R , T >
open fun modifiers (condition: ( Set < Modifiers >) -> Boolean ): MemberCondition < E , R , T >
modifiersNot
Link copied to clipboard
open fun modifiersNot (vararg modifiers: Modifiers ): MemberCondition < E , R , T >
name
Link copied to clipboard
open fun name (condition: ( String ) -> Boolean ): MemberCondition < E , R , T >
open fun name (name: String ): MemberCondition < E , R , T >
parameterAnnotations
Link copied to clipboard
open fun parameterAnnotations (vararg annotations: Set < Any >): ExecutableCondition < E , R , T >
parameterAnnotationsNot
Link copied to clipboard
open fun parameterAnnotationsNot (vararg annotations: Set < Any >): ExecutableCondition < E , R , T >
parameterCount
Link copied to clipboard
open fun parameterCount (condition: ( Int ) -> Boolean ): ExecutableCondition < E , R , T >
open fun parameterCount (count: Int ): ExecutableCondition < E , R , T >
parameters
Link copied to clipboard
open fun parameters (vararg types: Any ): ExecutableCondition < E , R , T >
open fun parameters (condition: ( List < Class <*>>) -> Boolean ): ExecutableCondition < E , R , T >
parametersNot
Link copied to clipboard
open fun parametersNot (vararg types: Any ): ExecutableCondition < E , R , T >
superclass
Link copied to clipboard
open fun superclass (): MemberCondition < E , R , T >

Enable superclass mode.

typeParameters
Link copied to clipboard
open fun typeParameters (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >
typeParametersNot
Link copied to clipboard
open fun typeParametersNot (vararg types: TypeMatcher ): ExecutableCondition < E , R , T >