문제

I'm using XDoclet to generate code:

/**
 * @diff.special
 */
public String myString;

Now I'd like to generate code depending on this annotation AND an annotation in an other class, i.e.

if annotation in class 1 = diff.special ===> decide what to do according to annotation in class 2 if annotation in class 1 = diff.normal ===> decide what to do according to annotation in class 3

How can I achieve that in my handler? When my ant task runs and is working on annotation in class 1, how can I get the annotations of class 2 or 3?

Thanks a LOT,

Haemi

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top