private void widenHintsToCommonSupertypes( int paramCountOfWidened, Class[] wideningTypes, int[] wideningTypeFlags) { final Class[] typesToWiden = getUnwrappingHintsByParamCount()[paramCountOfWidened]; if (typesToWiden == null) { return; // no such overload exists; nothing to widen } final int typesToWidenLen = typesToWiden.length; final int wideningTypesLen = wideningTypes.length; int min = Math.min(wideningTypesLen, typesToWidenLen); for (int i = 0; i < min; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], wideningTypes[i]); } if (typesToWidenLen > wideningTypesLen) { Class varargsComponentType = wideningTypes[wideningTypesLen - 1]; for (int i = wideningTypesLen; i < typesToWidenLen; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], varargsComponentType); } } if (bugfixed) { mergeInTypesFlags(paramCountOfWidened, wideningTypeFlags); } }
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount(); final Object[] pojoArgs = new Object[argsLen]; int[] typesFlags = null;
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount();
private void widenHintsToCommonSupertypes( int paramCountOfWidened, Class[] wideningTypes, int[] wideningTypeFlags) { final Class[] typesToWiden = getUnwrappingHintsByParamCount()[paramCountOfWidened]; if (typesToWiden == null) { return; // no such overload exists; nothing to widen } final int typesToWidenLen = typesToWiden.length; final int wideningTypesLen = wideningTypes.length; int min = Math.min(wideningTypesLen, typesToWidenLen); for (int i = 0; i < min; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], wideningTypes[i]); } if (typesToWidenLen > wideningTypesLen) { Class varargsComponentType = wideningTypes[wideningTypesLen - 1]; for (int i = wideningTypesLen; i < typesToWidenLen; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], varargsComponentType); } } if (bugfixed) { mergeInTypesFlags(paramCountOfWidened, wideningTypeFlags); } }
private void widenHintsToCommonSupertypes( int paramCountOfWidened, Class[] wideningTypes, int[] wideningTypeFlags) { final Class[] typesToWiden = getUnwrappingHintsByParamCount()[paramCountOfWidened]; if (typesToWiden == null) { return; // no such overload exists; nothing to widen } final int typesToWidenLen = typesToWiden.length; final int wideningTypesLen = wideningTypes.length; int min = Math.min(wideningTypesLen, typesToWidenLen); for (int i = 0; i < min; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], wideningTypes[i]); } if (typesToWidenLen > wideningTypesLen) { Class varargsComponentType = wideningTypes[wideningTypesLen - 1]; for (int i = wideningTypesLen; i < typesToWidenLen; ++i) { typesToWiden[i] = getCommonSupertypeForUnwrappingHint(typesToWiden[i], varargsComponentType); } } if (bugfixed) { mergeInTypesFlags(paramCountOfWidened, wideningTypeFlags); } }
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount(); final Object[] pojoArgs = new Object[argsLen]; int[] typesFlags = null;
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount(); final Object[] pojoArgs = new Object[argsLen]; int[] typesFlags = null;
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount();
final Class[][] unwrappingHintsByParamCount = getUnwrappingHintsByParamCount();