AOP or APT for overriding methods from super classes
问题 I have a large library of wicket components that are annotated with a custom annotation @ReferencedResource or another annotation @ReferencedResources , that has a ReferencedResouce[] value() parameter to allow multiple annotations. Here is a sample code snippet: @ReferencedResources({ @ReferencedResource(value = Libraries.MOO_TOOLS, type = ResourceType.JAVASCRIPT), @ReferencedResource(value = "behaviors/promoteSelectOptions", type = ResourceType.JAVASCRIPT) }) public class