Maybe this is just not possible, but I am introducing a field on a class and want it to also have an annotation.

public aspect ExampleAspect {

@Embedded
private SomeType TargetClass.introducedField;

}

Decompiling shows the field woven, but it is not annotated. The field is also public, but I suspect that is just the way things work.

Do I have to separately introduce the annotation using declare on my introduced field?


This message contains information from Equifax Inc. which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail postmas...@equifax.com.

_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to