Package org.springframework.aot.agent
Class MethodReference
java.lang.Object
org.springframework.aot.agent.MethodReference
Reference to a Java method, identified by its owner class and the method name.
This implementation is ignoring parameters on purpose, as the goal here is
to inform developers on invocations requiring additional
RuntimeHints
configuration, not
precisely identifying a method.
- Since:
- 6.0
- Author:
- Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the declaring class for this method.Return the name of the method.int
hashCode()
static MethodReference
toString()
-
Method Details
-
of
-
getClassName
Return the declaring class for this method.- Returns:
- the declaring class name
-
getMethodName
Return the name of the method.- Returns:
- the method name
-
equals
-
hashCode
public int hashCode() -
toString
-