public static StackManipulation of ( TypeDescription typeDescription ) { if ( typeDescription . isPrimitive ( ) ) { throw new IllegalArgumentException ( "Cannot check an instance against a primitive type: " + typeDescription ) ; } return new InstanceCheck ( typeDescription ) ; }
Creates a new instance check .