Integer widthInteger = getIntegerValue(widthString);
Integer heightInteger = getIntegerValue(heightString);
// replace "int" width/height
if (widthHas && heightHas) {
if (widthInteger != null && heightInteger != null) {
editor.replaceInvocationArgument(invocation, 2, widthInteger.toString());
editor.replaceInvocationArgument(invocation, 3, heightInteger.toString());
return;
}
}
// replace "int" width