Added a comment for getBeanIdentifier()

Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
Artem Smotrakov
2021-03-11 11:52:07 +01:00
committed by GitHub
parent 0a5d58ed8a
commit 4b7c57c077

View File

@@ -47,6 +47,9 @@ private class UnsafeBeanInitMethod extends Method {
)
}
/**
* Gets this bean's name if given by the `Bean` annotation, or this method's identifier otherwise.
*/
string getBeanIdentifier() { result = identifier }
}