public boolean isTypeGenerifiedBy ( String type ) { if ( typeGenericName . length > 2 && typeGenericName [ 2 ] . equals ( type ) ) { return true ; } if ( typeGenericName . length > 1 && typeGenericName [ 1 ] . equals ( type ) ) { return true ; } if ( typeGenericName . length > 0 && typeGenericName [ 0 ] . equals ( type ) ) { return true ; } return false ; }
Checks if the type specified is one of the bean s type parameters .