@Test(expected = IllegalNullArgumentException.class) public void determineAccessorPrefix_isNull() { FieldUtil.determineAccessorPrefix(null); }
public static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName) { Check.notEmpty(methodName, "methodName"); final Matcher m = PATTERN.matcher(methodName); Check.stateIsTrue(m.find(), "passed method name '%s' is not applicable", methodName); return new AccessorPrefix(m.group(1)); }
FieldUtil { public static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName) { Check.notEmpty(methodName, "methodName"); final Matcher m = PATTERN.matcher(methodName); Check.stateIsTrue(m.find(), "passed method name '%s' is not applicable", methodName); return new AccessorPrefix(m.group(1)); } }
FieldUtil { public static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName) { Check.notEmpty(methodName, "methodName"); final Matcher m = PATTERN.matcher(methodName); Check.stateIsTrue(m.find(), "passed method name '%s' is not applicable", methodName); return new AccessorPrefix(m.group(1)); } private  FieldUtil(); }
FieldUtil { public static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName) { Check.notEmpty(methodName, "methodName"); final Matcher m = PATTERN.matcher(methodName); Check.stateIsTrue(m.find(), "passed method name '%s' is not applicable", methodName); return new AccessorPrefix(m.group(1)); } private  FieldUtil(); static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName); static String determineFieldName(@Nonnull final String methodName); }
FieldUtil { public static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName) { Check.notEmpty(methodName, "methodName"); final Matcher m = PATTERN.matcher(methodName); Check.stateIsTrue(m.find(), "passed method name '%s' is not applicable", methodName); return new AccessorPrefix(m.group(1)); } private  FieldUtil(); static AccessorPrefix determineAccessorPrefix(@Nonnull final String methodName); static String determineFieldName(@Nonnull final String methodName);  }