Uses of Class
net.codecrete.windowsapi.metadata.Type
Packages that use Type
Package
Description
-
Uses of Type in net.codecrete.windowsapi.metadata
Subclasses of Type in net.codecrete.windowsapi.metadataModifier and TypeClassDescriptionfinal classArray type.final classCOM interface type.final classDelegate type (aka as function pointer or callback functions).final classEnumeration type.final classPointer type.final classPrimitive typefinal classStruct or union.final classType aliasMethods in net.codecrete.windowsapi.metadata that return TypeModifier and TypeMethodDescriptionTypeAlias.aliasedType()Gets the type this instance provides an alias for.Struct.getNestedType(String name) Gets the nested type with the given name.Gets the type with the specified name.Metadata.getTypeByTypeDefIndex(int typeDefIndex) Gets the type with the specifiedTypeDefindex.Array.itemType()Gets the type of the array items.Pointer.referencedType()Gets the type this pointer refers to.Method.returnType()Gets this method's return type.ArgumentValue.type()Returns the value of thetyperecord component.ConstantValue.type()Returns the value of thetyperecord component.Member.type()Gets the member type.Parameter.type()Returns the value of thetyperecord component.Methods in net.codecrete.windowsapi.metadata that return types with arguments of type TypeModifier and TypeMethodDescriptionMetadata.findComInterfaces(Set<String> names) Finds the COM interfaces with the given names.Metadata.findDelegates(Set<String> names) Finds the delegates with the given names.Finds the enums with the given names.Metadata.findStructs(Set<String> names) Finds the structs with the given names.Struct.nestedTypes()Gets the nested types.Array.referencedTypes()ComInterface.referencedTypes()Delegate.referencedTypes()EnumType.referencedTypes()Method.referencedTypes()Gets all types directly referenced by this method.Pointer.referencedTypes()Struct.referencedTypes()Type.referencedTypes()Returns the types directly references by this type.Metadata.types()Gets all types.Namespace.types()Gets all types in this namespace.Methods in net.codecrete.windowsapi.metadata with parameters of type TypeModifier and TypeMethodDescriptionvoidStruct.addNestedType(Type nestedType) Adds the given type as a nested type of this type.voidAdds a type to this metadata.Metadata.makePointerFor(Type type) Creates a pointer referencing the specified type.voidMetadata.removeType(Type type, boolean nameExists) Removes a type from this metadata.voidTypeAlias.setAliasedType(Type aliasedType) Sets the type this instance provides an alias for.voidMethod.setReturnType(Type returnType) Sets the return type.Method parameters in net.codecrete.windowsapi.metadata with type arguments of type TypeModifier and TypeMethodDescriptionMember.duplicate(UnaryOperator<Type> typeReplacer) Creates a copy of this member, replacing its type.voidDelegate.replaceTypes(UnaryOperator<Type> typeReplacements) voidMethod.replaceTypes(UnaryOperator<Type> typeReplacer) Replaces the types of the parameters and return type with different types.voidStruct.replaceTypes(UnaryOperator<Type> typeReplacement) voidType.replaceTypes(UnaryOperator<Type> typeReplacement) Replace the types directly referenced by this type with the provided replacements.Constructors in net.codecrete.windowsapi.metadata with parameters of type TypeModifierConstructorDescriptionArgumentValue(Type type, String name, Object value) Creates an instance of aArgumentValuerecord class.Creates a new instance.ConstantValue(String name, Namespace namespace, Type type, Object value, boolean isAnsiEncoding, LazyString documentationUrl) Creates an instance of aConstantValuerecord class.Creates a new member instance.Creates an instance of aParameterrecord class. -
Uses of Type in net.codecrete.windowsapi.winmd
Methods in net.codecrete.windowsapi.winmd that return TypeModifier and TypeMethodDescriptionMetadataBuilder.getTypeByTypeDef(int typeDefIndex) MetadataBuilder.getTypeByTypeRef(int typeRefIndex, Struct parentType, boolean externalTypeAllowed) Type[]MethodSignature.paramTypes()Returns the value of theparamTypesrecord component.MethodSignature.returnType()Returns the value of thereturnTyperecord component.Methods in net.codecrete.windowsapi.winmd with parameters of type TypeModifier and TypeMethodDescriptionstatic LayoutRequirementGets the given type's layout requirements.MetadataBuilder.makePointerFor(Type type) Constructors in net.codecrete.windowsapi.winmd with parameters of type TypeModifierConstructorDescriptionMethodSignature(Type returnType, Type[] paramTypes) Creates an instance of aMethodSignaturerecord class. -
Uses of Type in net.codecrete.windowsapi.writer
Subclasses with type arguments of type Type in net.codecrete.windowsapi.writerModifier and TypeClassDescriptionclassGenerates Java code for a given scope of types, functions, and constants.Fields in net.codecrete.windowsapi.writer declared as TypeModifier and TypeFieldDescriptionprotected TJavaCodeWriter.typeThe metadata type for the current Java file (if any)