The one that was in stackoverflow was modified to a Japanese link. (* JavaEE part is still in English) I often ask if I should read the source of the core library, but instead of reading in the dark clouds, I focused on the design pattern. A memorandum for a closer look in the future.
javax.lang.model.element.AnnotationValue and javax.lang.model.element.AnnotationValueVisitor
javax.lang.model.element.Element and javax.lang.model.element.ElementVisitor
javax.lang.model.type.TypeMirror and javax.lang.model.type.TypeVisitor
java.nio.file.FileVisitor and java.nio.file.SimpleFileVisitor
javax.faces.component.visit.VisitContext and javax.faces.component.visit.VisitCallback
Reference: https://stackoverflow.com/questions/1673841/examples-of-gof-design-patterns-in-javas-core-libraries
Recommended Posts