@ Paul Bellora answered your question.
ServiceOutputView.class is of type Class [ServiceOutputView [?]], And your parameter on the call site expects Class [ServiceOutputView [Output40942DTO]], so you get an unverified method call exception when you try to pass Class [ServiceView [? ] to the class [ServiceOutputView [Output40942DTO]], which, as your method type parameters say, expects.
UPDATE: There is an agreement here that will not give a warning:
public class Parameter { public static void main(String... args) throws Exception { PxViewFull<OutputDTO> output40813 = PxViewFull.create(OutputDTO.class, ServiceOutputView.class); } } class ServiceCall<X> { } class OutputDTO extends ServiceCall<OutputDTO> { public OutputDTO serviceCall() {
The create method should contain uncontrolled selection, but itβs best to just put @SuppressWarning on it and make sure that the reason is explicitly specified in javadoc for the method.
source share