Added samples for annotation processing article. (#705)

* Added annotation processing examples. Fixed core-java8 build on OS X

* Moved projects to separate submodule
This commit is contained in:
Sergey Petunin
2016-09-28 19:24:03 +05:00
committed by Grzegorz Piwowarek
parent d1bd04d2dc
commit ea85fa99ee
11 changed files with 319 additions and 14 deletions
@@ -0,0 +1,29 @@
package com.baeldung.annotation;
import com.baeldung.annotation.processor.BuilderProperty;
public class Person {
private int age;
private String name;
public int getAge() {
return age;
}
@BuilderProperty
public void setAge(int age) {
this.age = age;
}
public String getName() {
return name;
}
@BuilderProperty
public void setName(String name) {
this.name = name;
}
}