Annotations in Java

@Retention(RetentionPolicy.RUNTIME) -  byte-code a yazilir ve VM runtime zamani istifade ede bilir

@Retention(RetentionPolicy.CLASS) - byte-code a yazilir, VM istifade ede bilmir

@Retention(RetentionPolicy.SOURCE) - byte-code a yazilmir. Yalniz compile zamani istifade olunur

Comments

Popular posts from this blog

Validation for AZ phone numbers with RegEx in Java

Java necə işləyir, kod nədir ?

@Transactional annotation haqqinda. Cascade istifade olunmasi