public override void FillData(byte[] Data, ConstantPoolReader Reader) { ushort NameIndex = BitConverterBE.ToUInt16(Data, 0); ushort DescriptorIndex = BitConverterBE.ToUInt16(Data, 2); Name = ((Utf8)Reader.GetFilledConstant(NameIndex)).Value; Descriptor = ((Utf8)Reader.GetFilledConstant(DescriptorIndex)).Value; }
public override void FillData(byte[] Data, ConstantPoolReader Reader) { ushort ClassIndex = BitConverterBE.ToUInt16(Data, 0); ushort NameAndTypeIndex = BitConverterBE.ToUInt16(Data, 2); Class ClassConst = (Class)Reader.GetFilledConstant(ClassIndex); NameAndType NameAndTypeConst = (NameAndType)Reader.GetFilledConstant(NameAndTypeIndex); this.Class = ClassConst.Value; this.Name = NameAndTypeConst.Name; this.Descriptor = NameAndTypeConst.Descriptor; }
public override void FillData(byte[] Data, ConstantPoolReader Reader) { BootstrapMethodAttrIndex = BitConverterBE.ToUInt16(Data, 0); NameAndType N = (NameAndType)Reader.GetFilledConstant(BitConverterBE.ToUInt16(Data, 2)); Name = N.Name; Descriptor = N.Descriptor; }
public override void FillData(byte[] Data, ConstantPoolReader Reader) { Value = ((Utf8)Reader.GetFilledConstant(BitConverterBE.ToUInt16(Data, 0))).Value; }
public override void FillData(byte[] Data, ConstantPoolReader Reader) { Kind = (ReferenceKind)Data[0]; Reference = Reader.GetFilledConstant(BitConverterBE.ToUInt16(Data, 1)); }