private static AttributesType matchParaMeterOfMethod ( final Object obj , final String methodName ) { for ( AttributesType attr : AttributesType . values ( ) ) { try { obj . getClass ( ) . getMethod ( methodName , new Class [ ] { attr . clazz } ) ; return attr ; } catch ( Exception ex ) { LOG . log ( Level . FINE , " error in matchParaMeterOfMethod = " + ex . getLocalizedMessage ( ) , ex ) ; } } return null ; }
match parameter of method .