Class Namespace
java.lang.Object
net.codecrete.windowsapi.metadata.Namespace
Namespace of a type, method or constant.
Windows metadata is organized by namespaces.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstant(ConstantValue constant) Adds a constant to the namespace.Gets all constants in this namespace.methods()Gets all methods in this namespace.name()Gets the namespace name.toString()types()Gets all types in this namespace.
-
Method Details
-
name
-
types
-
methods
-
constants
Gets all constants in this namespace.- Returns:
- the constants, as a map indexed by the constants' name
-
addConstant
Adds a constant to the namespace.- Parameters:
constant- the constant
-
toString
-