Class PythonMethodElement

java.lang.Object
io.micronaut.inject.ast.annotation.AbstractAnnotationElement
io.micronaut.python.processing.visitor.PythonMethodElement
All Implemented Interfaces:
ElementProvider, AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Described, Named, MutableAnnotationMetadataDelegate<Element>, Element, MemberElement, MethodElement
Direct Known Subclasses:
PythonConstructorElement

public non-sealed class PythonMethodElement extends AbstractAnnotationElement implements MethodElement, ElementProvider
Represents a Python method/function as a Micronaut MethodElement.

This class wraps a FunctionDef node of the Python AST, providing full MethodElement interface implementation including parameters, return types, and visibility.

Since:
5.2.0
Author:
Micronaut Team
See Also: