/** * @param log * @param introspector * @param clazz * @param property * @since 1.5 */ public GetExecutor(final Log log, final Introspector introspector, final Class clazz, final String property) { this.log = log; this.introspector = introspector; // If you passed in null as property, we don't use the value // for parameter lookup. Instead we just look for get() without // any parameters. // // In any other case, the following condition will set up an array // for looking up get(String) on the class. if (property != null) { this.params = new Object[] { property }; } discover(clazz); }
/** * @param log * @param introspector * @param clazz * @param property * @since 1.5 */ public GetExecutor(final Logger log, final Introspector introspector, final Class clazz, final String property) { this.log = log; this.introspector = introspector; // If you passed in null as property, we don't use the value // for parameter lookup. Instead we just look for get() without // any parameters. // // In any other case, the following condition will set up an array // for looking up get(String) on the class. if (property != null) { this.params = new Object[] { property }; } discover(clazz); }
/** * @param log * @param introspector * @param clazz * @param property * @since 1.5 */ public GetExecutor(final Log log, final Introspector introspector, final Class clazz, final String property) { this.log = log; this.introspector = introspector; // If you passed in null as property, we don't use the value // for parameter lookup. Instead we just look for get() without // any parameters. // // In any other case, the following condition will set up an array // for looking up get(String) on the class. if (property != null) { this.params = new Object[] { property }; } discover(clazz); }