Record Class PythonSource
java.lang.Object
java.lang.Record
io.micronaut.python.processing.PythonSource
- Record Components:
name- source namepackageName- source package namecalls- calls discovered in the source
Python source metadata made available during annotation processing.
-
Constructor Summary
ConstructorsConstructorDescriptionPythonSource(String name, String packageName, List<PythonCall> calls) Creates an instance of aPythonSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncalls()Returns the value of thecallsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thepackageNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PythonSource
Creates an instance of aPythonSourcerecord class.- Parameters:
name- the value for thenamerecord componentpackageName- the value for thepackageNamerecord componentcalls- the value for thecallsrecord 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). -
name
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
calls
-