MethodModel (Java SE 26 & JDK 26)
- All Superinterfaces:
AttributedElement, ClassElement, ClassFileElement, CompoundElement<MethodElement>, Iterable<MethodElement>
-
Method Summary
code()Returns the body of this method, if there is one.
flags()Returns the access flags.
Returns the name of this method.
Returns the method descriptor string of this method.
Returns the method type, as a symbolic descriptor.
parent()Returns the class model this method is a member of, if known.
Methods declared in interface CompoundElement
elementList, elementStream, forEach, iterator, toDebugStringReturns a
Listcontaining all member elements in this compound element.Returns a
Streamcontaining all member elements in this compound element.voidInvokes the provided handler with each member element in this compound element.
Returns an
Iteratordescribing all member elements in this compound element.Returns a text representation of the compound element and its contents for debugging purposes.
-
Method Details
-
flags
-
parent
-
methodName
-
methodType
-
methodTypeSymbol
-
code
-