@Override
    @SuppressWarnings("unchecked")
    public <T> Delegate<T> getDelegate(Class<? super T> typeClass)
    {
        final HasDelegate<T> last = (HasDelegate<T>) delegateMapping
                .get(typeClass.getName());
        return last == null ? null : last.delegate;
    }
Used by {@link RuntimeSchema#map(Class, Class)}.
protostuff-runtime/src/main/java/io/protostuff/runtime/DefaultIdStrategy.java