if (isVargs && lastArg && actualType.isArray()) {
<BUG>actualType=actualType.getComponentType();
</BUG>
}
actualType = wrapTypeIfNecessary(actualType);
<BUG>Map<String, GenericsType> typePlaceholders = GenericsUtils.extractPlaceholders(type.isArray()?type.getComponentType():type);
</BUG>
if (OBJECT_TYPE.equals(type)) {
for (String key : typePlaceholders.keySet()) {
resolvedPlaceholders.put(key, new GenericsType(actualType));

if (isVargs && lastArg && actualType.isArray()) {
actualType = actualType.getComponentType();
}
actualType = wrapTypeIfNecessary(actualType);
Map<String, GenericsType> typePlaceholders = GenericsUtils.extractPlaceholders(type.isArray() ? type.getComponentType() : type);
if (OBJECT_TYPE.equals(type)) {
for (String key : typePlaceholders.keySet()) {
resolvedPlaceholders.put(key, new GenericsType(actualType));
