Code example for TypeToken

Methods: getRawType

0
        spec.delegate = TypeToken.of(type);
        return spec; 
    } 
     
    public Class<? super T> getRawType() {
        return (Class<? super T>) delegate.getRawType();
    } 
     
    public Type getType() {
        return delegate.getType();
    } 
     
} 
Contextual code suggestions in your IDE  Get Codota for Java