if (invoker instanceof ResourceMethodInvoker)
{
methods.add(new MethodMetaData(this, (ResourceMethodInvoker) invoker));
} else if(invoker instanceof ResourceLocatorInvoker)
{
ResourceLocatorInvoker locator = (ResourceLocatorInvoker) invoker;
Method method = locator.getMethod();
Class<?> locatorType = method.getReturnType();
Class<?>[] locatorResourceTypes = GetRestful.getSubResourceClasses(locatorType);
for (Class<?> locatorResourceType : locatorResourceTypes)
{
if (locatorResourceType == null)