@ -1152,7 +1152,6 @@ public class ResolvableType implements Serializable {
@@ -1152,7 +1152,6 @@ public class ResolvableType implements Serializable {
* @see # forClassWithGenerics ( Class , ResolvableType . . . )
* /
public static ResolvableType forClassWithGenerics ( Class < ? > clazz , Class < ? > . . . generics ) {
Assert . notNull ( clazz , "Class must not be null" ) ;
Assert . notNull ( generics , "Generics array must not be null" ) ;
ResolvableType [ ] resolvableGenerics = new ResolvableType [ generics . length ] ;
for ( int i = 0 ; i < generics . length ; i + + ) {
@ -1289,7 +1288,6 @@ public class ResolvableType implements Serializable {
@@ -1289,7 +1288,6 @@ public class ResolvableType implements Serializable {
* @see # forConstructorParameter ( Constructor , int , Class )
* /
public static ResolvableType forConstructorParameter ( Constructor < ? > constructor , int parameterIndex ) {
Assert . notNull ( constructor , "Constructor must not be null" ) ;
return forMethodParameter ( new MethodParameter ( constructor , parameterIndex ) ) ;
}
@ -1307,7 +1305,6 @@ public class ResolvableType implements Serializable {
@@ -1307,7 +1305,6 @@ public class ResolvableType implements Serializable {
public static ResolvableType forConstructorParameter ( Constructor < ? > constructor , int parameterIndex ,
Class < ? > implementationClass ) {
Assert . notNull ( constructor , "Constructor must not be null" ) ;
MethodParameter methodParameter = new MethodParameter ( constructor , parameterIndex , implementationClass ) ;
return forMethodParameter ( methodParameter ) ;
}
@ -1319,7 +1316,6 @@ public class ResolvableType implements Serializable {
@@ -1319,7 +1316,6 @@ public class ResolvableType implements Serializable {
* @see # forMethodReturnType ( Method , Class )
* /
public static ResolvableType forMethodReturnType ( Method method ) {
Assert . notNull ( method , "Method must not be null" ) ;
return forMethodParameter ( new MethodParameter ( method , - 1 ) ) ;
}
@ -1333,7 +1329,6 @@ public class ResolvableType implements Serializable {
@@ -1333,7 +1329,6 @@ public class ResolvableType implements Serializable {
* @see # forMethodReturnType ( Method )
* /
public static ResolvableType forMethodReturnType ( Method method , Class < ? > implementationClass ) {
Assert . notNull ( method , "Method must not be null" ) ;
MethodParameter methodParameter = new MethodParameter ( method , - 1 , implementationClass ) ;
return forMethodParameter ( methodParameter ) ;
}
@ -1347,7 +1342,6 @@ public class ResolvableType implements Serializable {
@@ -1347,7 +1342,6 @@ public class ResolvableType implements Serializable {
* @see # forMethodParameter ( MethodParameter )
* /
public static ResolvableType forMethodParameter ( Method method , int parameterIndex ) {
Assert . notNull ( method , "Method must not be null" ) ;
return forMethodParameter ( new MethodParameter ( method , parameterIndex ) ) ;
}
@ -1363,7 +1357,6 @@ public class ResolvableType implements Serializable {
@@ -1363,7 +1357,6 @@ public class ResolvableType implements Serializable {
* @see # forMethodParameter ( MethodParameter )
* /
public static ResolvableType forMethodParameter ( Method method , int parameterIndex , Class < ? > implementationClass ) {
Assert . notNull ( method , "Method must not be null" ) ;
MethodParameter methodParameter = new MethodParameter ( method , parameterIndex , implementationClass ) ;
return forMethodParameter ( methodParameter ) ;
}