Uses of Interface
io.helidon.common.types.TypeName
Packages that use TypeName
Package
Description
Subset of Builder's SPI types that are useful for runtime.
-
Uses of TypeName in io.helidon.common.types
Classes in io.helidon.common.types with type parameters of type TypeNameModifier and TypeClassDescriptionstatic classTypeName.BuilderBase<BUILDER extends TypeName.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypeName> Fluent API builder base forTypeName.Classes in io.helidon.common.types that implement TypeNameModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Fields in io.helidon.common.types declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeNameTypeNames.BOXED_BOOLEANBoxed boolean type.static final TypeNameTypeNames.BOXED_BYTEBoxed byte type.static final TypeNameTypeNames.BOXED_CHARBoxed char type.static final TypeNameTypeNames.BOXED_DOUBLEBoxed double type.static final TypeNameTypeNames.BOXED_FLOATBoxed float type.static final TypeNameTypeNames.BOXED_INTBoxed int type.static final TypeNameTypeNames.BOXED_LONGBoxed long type.static final TypeNameTypeNames.BOXED_SHORTBoxed short type.static final TypeNameTypeNames.BOXED_VOIDBoxed void type.static final TypeNameTypeNames.COLLECTIONType name forCollection.static final TypeNameTypeNames.LISTType name forList.static final TypeNameTypeNames.MAPType name forMap.static final TypeNameTypeNames.OBJECTType name forObject.static final TypeNameTypeNames.OPTIONALType name forOptional.static final TypeNameTypeNames.PRIMITIVE_BOOLEANPrimitive boolean type.static final TypeNameTypeNames.PRIMITIVE_BYTEPrimitive byte type.static final TypeNameTypeNames.PRIMITIVE_CHARPrimitive char type.static final TypeNameTypeNames.PRIMITIVE_DOUBLEPrimitive double type.static final TypeNameTypeNames.PRIMITIVE_FLOATPrimitive float type.static final TypeNameTypeNames.PRIMITIVE_INTPrimitive int type.static final TypeNameTypeNames.PRIMITIVE_LONGPrimitive long type.static final TypeNameTypeNames.PRIMITIVE_SHORTPrimitive short type.static final TypeNameTypeNames.PRIMITIVE_VOIDPrimitive void type.static final TypeNameTypeNames.SETType name forSet.static final TypeNameTypeNames.STRINGType name forString.static final TypeNameTypeNames.SUPPLIERType name forSupplier.static final TypeNameTypeNames.TYPE_NAMEType name of the type name.static final TypeNameTypeNames.TYPED_ELEMENT_INFOType name of typed element info.Methods in io.helidon.common.types that return TypeNameModifier and TypeMethodDescriptionTypeName.boxed()Return the boxed equivalent of this type.TypeName.BuilderBase.TypeNameImpl.boxed()TypeName.Builder.build()TypeName.Builder.buildPrototype()static TypeNameCreate a type name from a type (such as class).static TypeNameCreates a type name from a fully qualified class name.static TypeNameTypeName.createFromGenericDeclaration(String genericAliasTypeName) Creates a type name from a generic alias type name.TypeName.BuilderBase.TypeNameImpl.genericTypeName()TypeName.genericTypeName()The base generic type name, stripped of anyTypeNameBlueprint.typeArguments().Annotation.BuilderBase.AnnotationImpl.typeName()TypedElementInfo.BuilderBase.TypedElementInfoImpl.typeName()TypeInfo.BuilderBase.TypeInfoImpl.typeName()Methods in io.helidon.common.types that return types with arguments of type TypeNameModifier and TypeMethodDescriptionTypedElementInfo.BuilderBase.componentTypes()Returns the component type names describing the element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.componentTypes()TypedElementInfo.BuilderBase.enclosingType()The enclosing type name for this typed element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.enclosingType()TypeInfo.BuilderBase.referencedModuleNames()Populated if the (external) module name containing the type is known.TypeInfo.BuilderBase.TypeInfoImpl.referencedModuleNames()TypeInfo.BuilderBase.referencedTypeNamesToAnnotations()Any Map, List, Set, or method that hasTypeNameBlueprint.typeArguments()will be analyzed and any type arguments will have its annotations added here.TypeInfo.BuilderBase.TypeInfoImpl.referencedTypeNamesToAnnotations()TypedElementInfo.BuilderBase.throwsChecked()TypedElementInfo.BuilderBase.TypedElementInfoImpl.throwsChecked()TypeName.BuilderBase.typeArguments()Returns the list of generic type arguments, or an empty list if no generics are in use.TypeName.BuilderBase.TypeNameImpl.typeArguments()Annotation.BuilderBase.typeName()The type name, e.g.,Objects-> "java.util.Objects".TypedElementInfo.BuilderBase.typeName()The type name for the element (e.g., java.util.List).TypeInfo.BuilderBase.typeName()The type name.Methods in io.helidon.common.types with parameters of type TypeNameModifier and TypeMethodDescriptionTypeInfo.BuilderBase.addReferencedTypeNamesToAnnotation(TypeName key, Annotation referencedTypeNamesToAnnotation) This method adds a new value to the map value, or creates a new value.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations(TypeName key, List<Annotation> referencedTypeNamesToAnnotations) This method adds a new value to the map value, or creates a new value.TypeName.BuilderBase.addTypeArgument(TypeName typeArgument) Returns the list of generic type arguments, or an empty list if no generics are in use.default AnnotationAnnotated.annotation(TypeName annotationType) Get an annotation on this annotated type.static TypeName.BuilderCreate a new fluent API builder from an existing instance.intstatic AnnotationCreates an instance for an annotation with no value.static AnnotationCreates an instance for an annotation with a value.static AnnotationCreates an instance for annotation with zero or more values.TypedElementInfo.BuilderBase.enclosingType(TypeName enclosingType) The enclosing type name for this typed element.default Optional<Annotation> Annotated.findAnnotation(TypeName annotationType) Find an annotation on this annotated type.static <T extends Annotation>
Optional<T> Annotations.findFirst(TypeName annoTypeName, Collection<T> coll) Attempts to find the annotation in the provided collection.Update this builder from an existing prototype instance.default booleanAnnotated.hasAnnotation(TypeName annotationType) Check if the annotation exists on this annotated.TypeInfo.BuilderBase.putReferencedModuleName(TypeName key, String referencedModuleName) This method adds a new value to the map, or replaces it if the key already exists.TypeInfo.BuilderBase.putReferencedTypeNamesToAnnotation(TypeName key, List<Annotation> referencedTypeNamesToAnnotation) This method adds a new value to the map, or replaces it if the key already exists.The type name, e.g.,Objects-> "java.util.Objects".The type name for the element (e.g., java.util.List).The type name.Method parameters in io.helidon.common.types with type arguments of type TypeNameModifier and TypeMethodDescriptionTypedElementInfo.BuilderBase.addComponentTypes(List<? extends TypeName> componentTypes) Returns the component type names describing the element.TypeInfo.BuilderBase.addReferencedModuleNames(Map<? extends TypeName, ? extends String> referencedModuleNames) This method keeps existing values, then puts all new values into the map.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method keeps existing values, then puts all new values into the map.TypedElementInfo.BuilderBase.addThrowsChecked(Set<? extends TypeName> throwsChecked) TypeName.BuilderBase.addTypeArguments(List<? extends TypeName> typeArguments) Returns the list of generic type arguments, or an empty list if no generics are in use.TypedElementInfo.BuilderBase.componentTypes(List<? extends TypeName> componentTypes) Returns the component type names describing the element.TypeInfo.BuilderBase.referencedModuleNames(Map<? extends TypeName, ? extends String> referencedModuleNames) This method replaces all values with the new ones.TypeInfo.BuilderBase.referencedTypeNamesToAnnotations(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method replaces all values with the new ones.TypedElementInfo.BuilderBase.throwsChecked(Set<? extends TypeName> throwsChecked) TypeName.BuilderBase.typeArguments(List<? extends TypeName> typeArguments) Returns the list of generic type arguments, or an empty list if no generics are in use.The type name, e.g.,Objects-> "java.util.Objects".The type name for the element (e.g., java.util.List).The type name.