This repository has been archived by the owner on May 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from 2tu/develop
fixed clean object fields
- Loading branch information
Showing
15 changed files
with
294 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
fit-compiler/src/main/java/fit/compiler/PropertyDescriptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package fit.compiler; | ||
|
||
import javax.lang.model.element.Element; | ||
|
||
/** | ||
* @author Tu enum@foxmail.com. | ||
* @since 1.0.1 | ||
*/ | ||
|
||
public class PropertyDescriptor { | ||
private Element getter; | ||
private Element setter; | ||
private Element field; | ||
|
||
public Element getGetter() { | ||
return getter; | ||
} | ||
|
||
public void setGetter(Element getter) { | ||
this.getter = getter; | ||
} | ||
|
||
public Element getSetter() { | ||
return setter; | ||
} | ||
|
||
public void setSetter(Element setter) { | ||
this.setter = setter; | ||
} | ||
|
||
public Element getField() { | ||
return field; | ||
} | ||
|
||
public void setField(Element field) { | ||
this.field = field; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.