Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Spring AOP Introductions On CustomAnnotated Classes(Not able to identify Custom annotated classes in Spring AOP Introductions @DeclareParents value)
Spring AOP Introductions On CustomAnnotated Classes [message #1795860] Mon, 01 October 2018 12:55
VINOD KUMAR P is currently offline VINOD KUMAR PFriend
Messages: 1
Registered: October 2018
Junior Member

We are trying to identify Custom annotated Classes in @DeclareParents usages for the value.

Custom Annotation declared like below

public @interface CustomAnnot{

And usage of this one of the class.

public class TestClass {
private int a;
private int b;


Now trying to create an aspect and identify classes annotated with @customAnnot and apply default implementation of interface "AddNewField".

public class introductionAspect {

@DeclareParents(value="@CustomAnnot *", defaultImpl=DefaultAddNewFieldImpl.class)
public static AddNewField mixin;


But my aspect not able to identify "TestClass" yet all to apply DefaultAddNewFieldImpl on it.

Can any one suggest me or provide inputs exactly how to identify custom annotated classes in @Aspect annotation style?

Previous Topic:Configuring Eclipse for executing Cucumber Javascript test scripts
Next Topic:Eclipse 4.9 is full of micro-freezes
Goto Forum:

Current Time: Mon Oct 15 18:58:34 GMT 2018

Powered by FUDForum. Page generated in 0.03433 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top