Class MetadataBuilder
java.lang.Object
net.codecrete.windowsapi.winmd.MetadataBuilder
Processes a .winmd file and creates the connected data structure described the types, methods, etc.
-
Method Summary
Modifier and TypeMethodDescriptionintgetElementType(Primitive primitiveType) getPrimitiveType(int elementType) getTypeByTypeDef(int typeDefIndex) getTypeByTypeRef(int typeRefIndex, Struct parentType, boolean externalTypeAllowed) static Metadataload()Loads the metadata from the built-in .winmd file.makePointerFor(Type type)
-
Method Details
-
load
Loads the metadata from the built-in .winmd file.- Returns:
- the loaded metadata
-
getPrimitiveType
-
getTypeByTypeDef
-
getTypeByTypeRef
-
getElementType
-
makePointerFor
-