public static String getterName ( Class < ? > componentClass ) { if ( componentClass == null ) return null ; StringBuilder sb = new StringBuilder ( "get" ) ; sb . append ( componentClass . getSimpleName ( ) ) ; return sb . toString ( ) ; }
Returns a getter for a given class