Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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)
 {
 }