Example usage for org.springframework.core ResolvableType getSuperType

List of usage examples for org.springframework.core ResolvableType getSuperType

Introduction

In this page you can find the example usage for org.springframework.core ResolvableType getSuperType.

Prototype

public ResolvableType getSuperType() 

Source Link

Document

Return a ResolvableType representing the direct supertype of this type.

Usage

From source file:com.minlia.cloud.framework.common.persistence.service.AbstractRawService.java

public AbstractRawService() {
    ResolvableType resolvableType = ResolvableType.forClass(getClass());
    clazz = (Class<T>) resolvableType.getSuperType().getGeneric().resolve();
}

From source file:com.minlia.cloud.framework.common.web.controller.AbstractReadOnlyController.java

public AbstractReadOnlyController() {
    ResolvableType resolvableType = ResolvableType.forClass(getClass());
    clazz = (Class<T>) resolvableType.getSuperType().getGeneric().resolve();
}

From source file:net.shopxx.BaseAttributeConverter.java

public BaseAttributeConverter() {
    ResolvableType resolvableType = ResolvableType.forClass(getClass());
    Type type = resolvableType.getSuperType().getGeneric().getType();
    javaType = JsonUtils.constructType(type);
}