Record Class TypeInfo
java.lang.Object
java.lang.Record
uno.anahata.ai.nb.model.java.TypeInfo
- Record Components:
fqn- The fully qualified name of the type.simpleName- The simple name of the type.packageName- The package name of the type.origin- A string indicating the source of the type (e.g., "Project Source", "JDK / Platform").
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fqn()Returns the value of thefqnrecord component.final inthashCode()Returns a hash code value for this object.origin()Returns the value of theoriginrecord component.Returns the value of thepackageNamerecord component.Returns the value of thesimpleNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TypeInfo
Creates an instance of aTypeInforecord class.- Parameters:
fqn- the value for thefqnrecord componentsimpleName- the value for thesimpleNamerecord componentpackageName- the value for thepackageNamerecord componentorigin- the value for theoriginrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
fqn
-
simpleName
Returns the value of thesimpleNamerecord component.- Returns:
- the value of the
simpleNamerecord component
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
origin
-
