public void visitBootstrapMethodsAttribute(Clazz clazz, BootstrapMethodsAttribute bootstrapMethodsAttribute) { // Shrink the array of BootstrapMethodInfo objects. int newBootstrapMethodsCount = shrinkBootstrapMethodArray(bootstrapMethodsAttribute.bootstrapMethods, bootstrapMethodsAttribute.u2bootstrapMethodsCount); if (newBootstrapMethodsCount < bootstrapMethodsAttribute.u2bootstrapMethodsCount) { bootstrapMethodsAttribute.u2bootstrapMethodsCount = newBootstrapMethodsCount; // Remap all bootstrap method references. bootstrapMethodRemapper.setBootstrapMethodIndexMap(bootstrapMethodIndexMap); clazz.constantPoolEntriesAccept(bootstrapMethodRemapper); } }
public void visitBootstrapMethodsAttribute(Clazz clazz, BootstrapMethodsAttribute bootstrapMethodsAttribute) { // Shrink the array of BootstrapMethodInfo objects. int newBootstrapMethodsCount = shrinkBootstrapMethodArray(bootstrapMethodsAttribute.bootstrapMethods, bootstrapMethodsAttribute.u2bootstrapMethodsCount); if (newBootstrapMethodsCount < bootstrapMethodsAttribute.u2bootstrapMethodsCount) { bootstrapMethodsAttribute.u2bootstrapMethodsCount = newBootstrapMethodsCount; // Remap all bootstrap method references. bootstrapMethodRemapper.setBootstrapMethodIndexMap(bootstrapMethodIndexMap); clazz.constantPoolEntriesAccept(bootstrapMethodRemapper); } }
public void visitBootstrapMethodsAttribute(Clazz clazz, BootstrapMethodsAttribute bootstrapMethodsAttribute) { // Shrink the array of BootstrapMethodInfo objects. int newBootstrapMethodsCount = shrinkBootstrapMethodArray(bootstrapMethodsAttribute.bootstrapMethods, bootstrapMethodsAttribute.u2bootstrapMethodsCount); if (newBootstrapMethodsCount < bootstrapMethodsAttribute.u2bootstrapMethodsCount) { bootstrapMethodsAttribute.u2bootstrapMethodsCount = newBootstrapMethodsCount; // Remap all bootstrap method references. bootstrapMethodRemapper.setBootstrapMethodIndexMap(bootstrapMethodIndexMap); clazz.constantPoolEntriesAccept(bootstrapMethodRemapper); } }