public ConstantUtf8Info(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.Utf8) { Length = reader.ReadUInt16(); Bytes = reader.ReadBytes(Length); }
public ConstantClassInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.Class) { NameIndex = reader.ReadUInt16(); }
public ConstantIntegerInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.Integer) { Value = reader.ReadInt32(); }
public ConstantLongInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.Long) { Value = reader.ReadInt64(); }
public ConstantInvokeDynamicInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.InvokeDynamic) { BootstrapMethodIndex = reader.ReadUInt16(); NameAndTypeIndex = reader.ReadUInt16(); }
public ConstantDoubleInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.Float) { Value = reader.ReadDouble(); }
public ConstantNameAndTypeInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.NameAndType) { NameIndex = reader.ReadUInt16(); DescriptorIndex = reader.ReadUInt16(); }
public ConstantStringInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.String) { StringIndex = reader.ReadUInt16(); }
public ConstantMethodHandleInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.MethodHandle) { ReferenceKind = (MethodReferenceType)reader.ReadByte(); ReferenceIndex = reader.ReadUInt16(); }
protected ConstantInfoBase(ClassFile classFile, ConstantType type) : base(classFile) { Tag = type; }
public ConstantMethodType(ClassFile classFile, BigEndianBinaryReader reader) : base(classFile, ConstantType.MethodType) { SignatureIndex = reader.ReadUInt16(); }
public ConstantInterfaceMethodrefInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(ConstantReferenceType.InterfaceMethodReference, classFile, reader, ConstantType.InterfaceMethodref) { }
public ConstantFieldrefInfo(ClassFile classFile, BigEndianBinaryReader reader) : base(ConstantReferenceType.FieldReference, classFile, reader, ConstantType.Fieldref) { }