Capture a generic type with a (usually anonymous) subclass. ... abstract class IKnowMyType<T> { TypeToken<T> type = new TypeToken<T>(getClass()) {}; } new ...
確定! 回上一頁