/// <summary> /// Creates a new <see cref="CodeAttributeFactory"/>. /// </summary> /// <param name="attributeFactoryFacade">The attribute factory that can be used to create other types of attributes.</param> /// <param name="disassembler">The disassembler that is used to parse instructions.</param> public CodeAttributeFactory( IJvmAttributeFactoryFacade attributeFactoryFacade, IJvmBytecodeDisassembler disassembler) : base(attributeFactoryFacade) { _disassembler = disassembler; }
/// <summary> /// Initializes the <see cref="AttributeFactoryFacade"/>. /// </summary> /// <param name="attributeFactoryFacade">The attribute factory that can be used to create other types of attributes.</param> protected JvmAttributeFactoryBase(IJvmAttributeFactoryFacade attributeFactoryFacade) { AttributeFactoryFacade = attributeFactoryFacade; }
/// <summary> /// Creates a new <see cref="CodeAttributeFactory"/>. /// </summary> /// <param name="attributeFactoryFacade">The attribute factory that can be used to create other types of attributes.</param> public CodeAttributeFactory(IJvmAttributeFactoryFacade attributeFactoryFacade) : this(attributeFactoryFacade, JvmBytecodeDisassembler.Instance) { }