}
return new MethodVisitor(methodDescriptor, visitorHelper);
}
private void setModifiers(final int access, AccessModifierDescriptor descriptor) {
VisibilityModifier visibility = getVisibility(access);
descriptor.setVisibility(visibility.getValue());
if (hasFlag(access, Opcodes.ACC_SYNTHETIC)) {
descriptor.setSynthetic(Boolean.TRUE);
}
if (hasFlag(access, Opcodes.ACC_FINAL)) {
descriptor.setFinal(Boolean.TRUE);