IterableMethodReflectionExtension<O, R> extension
MethodReflection extension.
- on
-
- Iterable<
MethodReflection< O, R> >
- Iterable<
Methods
-
toNames(
) → Iterable< String> - Maps to MethodReflection.name.
-
toReturnTypeReflections(
) → Iterable< TypeReflection?> -
Maps to returned
TypeReflection
. -
toReturnTypes(
) → Iterable< Type?> -
Maps to returned
Type
. -
whereAnnotated(
[bool test(List< Object> annotations)?]) → Iterable<MethodReflection< O, R> > -
Returns the
MethodReflection
that matches annotationstest
. Iftest
isnull
, will match methods with any annotation. -
whereAnnotatedWith(
List< Object> annotations) → Iterable<MethodReflection< O, R> > -
Returns the
MethodReflection
that matchesannotations
. -
whereAnnotatedWithAnyOf(
List< Object> annotations) → Iterable<MethodReflection< O, R> > -
Returns the
MethodReflection
that matches anyannotations
. -
whereAnnotatedWithType<
T> () → Iterable< MethodReflection< O, R> > -
Returns the
MethodReflection
that has an annotation of typeT
. -
whereNoParameters(
) → Iterable< MethodReflection< O, R> > -
Returns the
MethodReflection
without parameters. -
whereNotAnnotated(
) → Iterable< MethodReflection< O, R> > -
Returns the
MethodReflection
without annotations. -
whereParametersTypes(
{List< Type> ? normalParameters, List<Type> ? optionalParameters, Map<String, Type> ? namedParameters}) → Iterable<MethodReflection< O, R> > -
Returns the
MethodReflection
that matches the parameters:normalParameters
,optionalParameters
andnamedParameters
. -
whereStatic(
) → Iterable< MethodReflection< O, R> > - Filter by MethodReflection.isStatic.