public static StackManipulation of ( TypeDescription typeDescription ) { if ( typeDescription . isArray ( ) || typeDescription . isPrimitive ( ) || typeDescription . isAbstract ( ) ) { throw new IllegalArgumentException ( typeDescription + " is not instantiable" ) ; } return new TypeCreation ( typeDescription ) ; }
Creates a type creation for the given type .