private boolean argumentMatches ( String classType , String propertyType ) { return ( classType . equals ( propertyType ) ) || ( classType . equals ( "java.lang.Byte" ) && propertyType . equals ( "byte" ) ) || ( classType . equals ( "java.lang.Short" ) && propertyType . equals ( "short" ) ) || ( classType . equals ( "java.lang.Integer" ) && propertyType . equals ( "int" ) ) || ( classType . equals ( "java.lang.Long" ) && propertyType . equals ( "long" ) ) || ( classType . equals ( "java.lang.Float" ) && propertyType . equals ( "float" ) ) || ( classType . equals ( "java.lang.Double" ) && propertyType . equals ( "double" ) ) || ( classType . equals ( "java.lang.Boolean" ) && propertyType . equals ( "boolean" ) ) || ( classType . equals ( "java.lang.Character" ) && propertyType . equals ( "char" ) ) ; }
Compare the type of a class with the actual value