# MethodCondition

class MethodCondition < T : Any > : ExecutableCondition < Method , MethodResolver < T >, T >

Condition for Method of MethodResolver.

## Constructors

MethodCondition
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 ?
isBridge
Link copied to clipboard
var isBridge : Boolean ?
isBridgeNot
Link copied to clipboard
var isBridgeNot : Boolean ?
isDefault
Link copied to clipboard
var isDefault : Boolean ?
isDefaultNot
Link copied to clipboard
var isDefaultNot : Boolean ?
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 >
returnType
Link copied to clipboard
var returnType : Any ?
returnTypeCondition
Link copied to clipboard
var returnTypeCondition : ( Class <*>) -> Boolean ?
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 override fun annotatedExceptionTypes (vararg types: Any ): MethodCondition < T >
annotatedExceptionTypesNot
Link copied to clipboard
open override fun annotatedExceptionTypesNot (vararg types: Any ): MethodCondition < T >
annotatedParameterTypes
Link copied to clipboard
open override fun annotatedParameterTypes (vararg types: Any ): MethodCondition < T >
annotatedParameterTypesNot
Link copied to clipboard
open override fun annotatedParameterTypesNot (vararg types: Any ): MethodCondition < T >
annotatedReceiverType
Link copied to clipboard
open override fun annotatedReceiverType (vararg types: Any ): MethodCondition < T >
annotatedReceiverTypeNot
Link copied to clipboard
open override fun annotatedReceiverTypeNot (vararg types: Any ): MethodCondition < T >
annotatedReturnType
Link copied to clipboard
open override fun annotatedReturnType (vararg types: Any ): MethodCondition < T >
annotatedReturnTypeNot
Link copied to clipboard
open override fun annotatedReturnTypeNot (vararg types: Any ): MethodCondition < T >
annotations
Link copied to clipboard
open override fun annotations (vararg annotations: Any ): MethodCondition < T >
annotationsNot
Link copied to clipboard
open override fun annotationsNot (vararg annotations: Any ): MethodCondition < 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
open override fun build (configuration: MemberCondition.Configuration < T >?): List < MethodResolver < T >>

Build the condition with the given configuration.

copy
Link copied to clipboard
open override fun copy (): MethodCondition < T >

Create a copy of this condition.

emptyParameters
Link copied to clipboard
open override fun emptyParameters (): MethodCondition < T >

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

emptyParametersNot
Link copied to clipboard
open override fun emptyParametersNot (): MethodCondition < T >

Set parameterCountCondition to check if the method has parameters.

exceptionTypes
Link copied to clipboard
open override fun exceptionTypes (vararg types: Any ): MethodCondition < T >
exceptionTypesNot
Link copied to clipboard
open override fun exceptionTypesNot (vararg types: Any ): MethodCondition < T >
genericExceptionTypes
Link copied to clipboard
open override fun genericExceptionTypes (vararg types: TypeMatcher ): MethodCondition < T >
genericExceptionTypesNot
Link copied to clipboard
open override fun genericExceptionTypesNot (vararg types: TypeMatcher ): MethodCondition < T >
genericParameters
Link copied to clipboard
open override fun genericParameters (vararg types: TypeMatcher ): MethodCondition < T >
genericParametersNot
Link copied to clipboard
open override fun genericParametersNot (vararg types: TypeMatcher ): MethodCondition < T >
genericString
Link copied to clipboard
open override fun genericString (genericString: String ): MethodCondition < T >
isBridge
Link copied to clipboard
fun isBridge (isBridge: Boolean ): MethodCondition < T >
isBridgeNot
Link copied to clipboard
fun isBridgeNot (isBridge: Boolean ): MethodCondition < T >
isDefault
Link copied to clipboard
fun isDefault (isDefault: Boolean ): MethodCondition < T >
isDefaultNot
Link copied to clipboard
fun isDefaultNot (isDefault: Boolean ): MethodCondition < T >
isSynthetic
Link copied to clipboard
open override fun isSynthetic (isSynthetic: Boolean ): MethodCondition < T >
isSyntheticNot
Link copied to clipboard
open override fun isSyntheticNot (isSynthetic: Boolean ): MethodCondition < T >
isVarArgs
Link copied to clipboard
open override fun isVarArgs (isVarArgs: Boolean ): MethodCondition < T >
isVarArgsNot
Link copied to clipboard
open override fun isVarArgsNot (isVarArgs: Boolean ): MethodCondition < T >
modifiers
Link copied to clipboard
open override fun modifiers (vararg modifiers: Modifiers ): MethodCondition < T >
open override fun modifiers (condition: ( Set < Modifiers >) -> Boolean ): MethodCondition < T >
modifiersNot
Link copied to clipboard
open override fun modifiersNot (vararg modifiers: Modifiers ): MethodCondition < T >
name
Link copied to clipboard
open override fun name (condition: ( String ) -> Boolean ): MethodCondition < T >
open override fun name (name: String ): MethodCondition < T >
parameterAnnotations
Link copied to clipboard
open override fun parameterAnnotations (vararg annotations: Set < Any >): MethodCondition < T >
parameterAnnotationsNot
Link copied to clipboard
open override fun parameterAnnotationsNot (vararg annotations: Set < Any >): MethodCondition < T >
parameterCount
Link copied to clipboard
open override fun parameterCount (condition: ( Int ) -> Boolean ): MethodCondition < T >
open override fun parameterCount (count: Int ): MethodCondition < T >
parameters
Link copied to clipboard
open override fun parameters (vararg types: Any ): MethodCondition < T >
open override fun parameters (condition: ( List < Class <*>>) -> Boolean ): MethodCondition < T >
parametersNot
Link copied to clipboard
open override fun parametersNot (vararg types: Any ): MethodCondition < T >
returnType
Link copied to clipboard
fun returnType (type: Any ): MethodCondition < T >
fun returnType (condition: ( Class <*>) -> Boolean ): MethodCondition < T >
superclass
Link copied to clipboard
open override fun superclass (): MethodCondition < T >

Enable superclass mode.

typeParameters
Link copied to clipboard
open override fun typeParameters (vararg types: TypeMatcher ): MethodCondition < T >
typeParametersNot
Link copied to clipboard
open override fun typeParametersNot (vararg types: TypeMatcher ): MethodCondition < T >