IterableMethodReflectionExtension<O, R> extension

MethodReflection extension.

on

Methods

toNames() Iterable<String>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Maps to MethodReflection.name.
toReturnTypeReflections() Iterable<TypeReflection?>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Maps to returned TypeReflection.
toReturnTypes() Iterable<Type?>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Maps to returned Type.
whereAnnotated([bool test(List<Object> annotations)?]) Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection that matches annotations test. If test is null, will match methods with any annotation.
whereAnnotatedWith(List<Object> annotations) Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection that matches annotations.
whereAnnotatedWithAnyOf(List<Object> annotations) Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection that matches any annotations.
whereAnnotatedWithType<T>() Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection that has an annotation of type T.
whereNoParameters() Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection without parameters.
whereNotAnnotated() Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection without annotations.
whereNotStatic() Iterable<MethodReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Filter by MethodReflection.isStatic.
whereParametersTypes({List<Type>? normalParameters, List<Type>? optionalParameters, Map<String, Type>? namedParameters}) Iterable<FunctionReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Returns the MethodReflection that matches the parameters: normalParameters, optionalParameters and namedParameters.
whereStatic() Iterable<StaticMethodReflection<O, R>>

Available on Iterable<FunctionReflection<O, R>>, provided by the IterableMethodReflectionExtension extension

Filter by MethodReflection.isStatic.