Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="CodeAttributeReader"/>.
 /// </summary>
 /// <param name="attributeReaderFacade">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 CodeAttributeReader(
     IJvmAttributeReaderFacade attributeReaderFacade,
     IJvmBytecodeDisassembler disassembler)
     : base(attributeReaderFacade)
 {
     _disassembler = disassembler;
 }
Exemplo n.º 2
0
 internal MetadataBodyReader(IBigEndianReader reader, ConstantPool constantPool)
 {
     _reader = reader;
     _facade = new JvmAttributeReaderFacade(reader, constantPool);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new <see cref="StackMapTableAttributeReader"/>.
 /// </summary>
 /// <param name="attributeReaderFacade">The attribute factory that can be used to create other types of attributes.</param>
 public StackMapTableAttributeReader(IJvmAttributeReaderFacade attributeReaderFacade)
     : base(attributeReaderFacade)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes the <see cref="AttributeReaderFacade"/>.
 /// </summary>
 /// <param name="attributeReaderFacade">The attribute factory that can be used to create other types of attributes.</param>
 protected JvmAttributeReaderBase(IJvmAttributeReaderFacade attributeReaderFacade)
 {
     AttributeReaderFacade = attributeReaderFacade;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates a new <see cref="CodeAttributeReader"/>.
 /// </summary>
 /// <param name="attributeReaderFacade">The attribute factory that can be used to create other types of attributes.</param>
 public CodeAttributeReader(IJvmAttributeReaderFacade attributeReaderFacade)
     : this(attributeReaderFacade, JvmBytecodeDisassembler.Instance)
 {
 }