boolean haveOneGenericType = actualTypeArguments.length == 1;
boolean thatIsOfTypeMethod = actualTypeArguments[ 0 ].equals( Method.class );
if( isAnIterable && haveOneGenericType && thatIsOfTypeMethod )
{
Class<?> injectedClass = dependencyModel.injectedClass();
Iterable<Method> result = methodModel.invocationsFor( injectedClass );
return result;
}
}
return null;
}