Record Class MethodDef
java.lang.Object
java.lang.Record
net.codecrete.windowsapi.winmd.tables.MethodDef
- Record Components:
index- row index (MethodDef index)rva- rvaimplFlags- method implementation attributes (MethodImplAttributes)flags- method attributes (MethodAttributes)name- member name (string index)signature- member signature (blob index)firstParam- first parameter of parameter list (Param index)
public record MethodDef(int index, int rva, int implFlags, int flags, int name, int signature, int firstParam)
extends Record
Row of the "MethodDef" table.
See ECMA-335, II.22.26 MethodDef: 0x06
-
Constructor Summary
ConstructorsConstructorDescriptionMethodDef(int index, int rva, int implFlags, int flags, int name, int signature, int firstParam) Creates an instance of aMethodDefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefirstParamrecord component.intflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theimplFlagsrecord component.intindex()Returns the value of theindexrecord component.intname()Returns the value of thenamerecord component.intrva()Returns the value of thervarecord component.intReturns the value of thesignaturerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MethodDef
public MethodDef(int index, int rva, int implFlags, int flags, int name, int signature, int firstParam) Creates an instance of aMethodDefrecord class.- Parameters:
index- the value for theindexrecord componentrva- the value for thervarecord componentimplFlags- the value for theimplFlagsrecord componentflags- the value for theflagsrecord componentname- the value for thenamerecord componentsignature- the value for thesignaturerecord componentfirstParam- the value for thefirstParamrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
index
-
rva
-
implFlags
-
flags
-
name
-
signature
-
firstParam
public int firstParam()Returns the value of thefirstParamrecord component.- Returns:
- the value of the
firstParamrecord component
-