Record Class ResolvedType
java.lang.Object
java.lang.Record
io.quarkus.annotation.processor.documentation.config.discovery.ResolvedType
public record ResolvedType(TypeMirror wrapperType, TypeMirror unwrappedType, String binaryName, String qualifiedName, String simplifiedName, boolean isPrimitive, boolean isMap, boolean isList, boolean isOptional, boolean isSecret, boolean isDeclared, boolean isInterface, boolean isClass, boolean isEnum, boolean isDuration, boolean isConfigGroup)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedType(TypeMirror wrapperType, TypeMirror unwrappedType, String binaryName, String qualifiedName, String simplifiedName, boolean isPrimitive, boolean isMap, boolean isList, boolean isOptional, boolean isSecret, boolean isDeclared, boolean isInterface, boolean isClass, boolean isEnum, boolean isDuration, boolean isConfigGroup) Creates an instance of aResolvedTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebinaryNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisClass()Returns the value of theisClassrecord component.booleanReturns the value of theisConfigGrouprecord component.booleanReturns the value of theisDeclaredrecord component.booleanReturns the value of theisDurationrecord component.booleanisEnum()Returns the value of theisEnumrecord component.booleanReturns the value of theisInterfacerecord component.booleanisList()Returns the value of theisListrecord component.booleanisMap()Returns the value of theisMaprecord component.booleanReturns the value of theisOptionalrecord component.booleanReturns the value of theisPrimitiverecord component.booleanisSecret()Returns the value of theisSecretrecord component.static ResolvedTypemakeList(TypeMirror type, ResolvedType unwrappedResolvedType) static ResolvedTypemakeMap(TypeMirror type, ResolvedType unwrappedResolvedType) static ResolvedTypemakeOptional(ResolvedType unwrappedResolvedType) static ResolvedTypemakeSecret(ResolvedType unwrappedResolvedType) static ResolvedTypeofDeclaredType(TypeMirror type, String binaryName, String qualifiedName, String simpleName, boolean isInterface, boolean isClass, boolean isEnum, boolean isDuration, boolean isConfigGroup) static ResolvedTypeofPrimitive(TypeMirror unwrappedType, String typeName) Returns the value of thequalifiedNamerecord component.Returns the value of thesimplifiedNamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunwrappedTyperecord component.Returns the value of thewrapperTyperecord component.
-
Constructor Details
-
ResolvedType
public ResolvedType(TypeMirror wrapperType, TypeMirror unwrappedType, String binaryName, String qualifiedName, String simplifiedName, boolean isPrimitive, boolean isMap, boolean isList, boolean isOptional, boolean isSecret, boolean isDeclared, boolean isInterface, boolean isClass, boolean isEnum, boolean isDuration, boolean isConfigGroup) Creates an instance of aResolvedTyperecord class.- Parameters:
wrapperType- the value for thewrapperTyperecord componentunwrappedType- the value for theunwrappedTyperecord componentbinaryName- the value for thebinaryNamerecord componentqualifiedName- the value for thequalifiedNamerecord componentsimplifiedName- the value for thesimplifiedNamerecord componentisPrimitive- the value for theisPrimitiverecord componentisMap- the value for theisMaprecord componentisList- the value for theisListrecord componentisOptional- the value for theisOptionalrecord componentisSecret- the value for theisSecretrecord componentisDeclared- the value for theisDeclaredrecord componentisInterface- the value for theisInterfacerecord componentisClass- the value for theisClassrecord componentisEnum- the value for theisEnumrecord componentisDuration- the value for theisDurationrecord componentisConfigGroup- the value for theisConfigGrouprecord component
-
-
Method Details
-
unwrappedTypeElement
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
ofPrimitive
-
ofDeclaredType
public static ResolvedType ofDeclaredType(TypeMirror type, String binaryName, String qualifiedName, String simpleName, boolean isInterface, boolean isClass, boolean isEnum, boolean isDuration, boolean isConfigGroup) -
makeList
-
makeOptional
-
makeSecret
-
makeMap
-
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
wrapperType
Returns the value of thewrapperTyperecord component.- Returns:
- the value of the
wrapperTyperecord component
-
unwrappedType
Returns the value of theunwrappedTyperecord component.- Returns:
- the value of the
unwrappedTyperecord component
-
binaryName
Returns the value of thebinaryNamerecord component.- Returns:
- the value of the
binaryNamerecord component
-
qualifiedName
Returns the value of thequalifiedNamerecord component.- Returns:
- the value of the
qualifiedNamerecord component
-
simplifiedName
Returns the value of thesimplifiedNamerecord component.- Returns:
- the value of the
simplifiedNamerecord component
-
isPrimitive
public boolean isPrimitive()Returns the value of theisPrimitiverecord component.- Returns:
- the value of the
isPrimitiverecord component
-
isMap
public boolean isMap()Returns the value of theisMaprecord component.- Returns:
- the value of the
isMaprecord component
-
isList
public boolean isList()Returns the value of theisListrecord component.- Returns:
- the value of the
isListrecord component
-
isOptional
public boolean isOptional()Returns the value of theisOptionalrecord component.- Returns:
- the value of the
isOptionalrecord component
-
isSecret
public boolean isSecret()Returns the value of theisSecretrecord component.- Returns:
- the value of the
isSecretrecord component
-
isDeclared
public boolean isDeclared()Returns the value of theisDeclaredrecord component.- Returns:
- the value of the
isDeclaredrecord component
-
isInterface
public boolean isInterface()Returns the value of theisInterfacerecord component.- Returns:
- the value of the
isInterfacerecord component
-
isClass
public boolean isClass()Returns the value of theisClassrecord component.- Returns:
- the value of the
isClassrecord component
-
isEnum
public boolean isEnum()Returns the value of theisEnumrecord component.- Returns:
- the value of the
isEnumrecord component
-
isDuration
public boolean isDuration()Returns the value of theisDurationrecord component.- Returns:
- the value of the
isDurationrecord component
-
isConfigGroup
public boolean isConfigGroup()Returns the value of theisConfigGrouprecord component.- Returns:
- the value of the
isConfigGrouprecord component
-