protected static boolean simpleCheck ( String [ ] typeNames , Class < ? > [ ] typeInfos ) { return typeNames != null && typeInfos != null && typeNames . length == typeInfos . length ; }
A simple null and length check .