-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#18] Added javadocs and did some polishing for 1.0.0
- Loading branch information
1 parent
973e3c0
commit 904caf2
Showing
69 changed files
with
1,410 additions
and
1,346 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
4 changes: 4 additions & 0 deletions
4
...ssor/src/main/java/io/toolisticon/annotationprocessortoolkit/generators/package-info.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,4 @@ | ||
/** | ||
* This package contains utility classes to create resource and java code files. | ||
*/ | ||
package io.toolisticon.annotationprocessortoolkit.generators; |
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
2 changes: 1 addition & 1 deletion
2
...nprocessortoolkit/internal/Utilities.java → ...tionprocessortoolkit/tools/Utilities.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
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
40 changes: 0 additions & 40 deletions
40
...icon/annotationprocessortoolkit/tools/corematcher/ExclusiveCharacteristicCoreMatcher.java
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...ionprocessortoolkit/tools/corematcher/ExclusiveCharacteristicElementBasedCoreMatcher.java
This file was deleted.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
...oolisticon/annotationprocessortoolkit/tools/corematcher/ExclusiveCriteriaCoreMatcher.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,58 @@ | ||
package io.toolisticon.annotationprocessortoolkit.tools.corematcher; | ||
|
||
import io.toolisticon.annotationprocessortoolkit.tools.filter.ExclusiveCriteriaElementFilter; | ||
import io.toolisticon.annotationprocessortoolkit.tools.matcher.CriteriaMatcher; | ||
import io.toolisticon.annotationprocessortoolkit.tools.validator.ExclusiveCriteriaElementValidator; | ||
|
||
import javax.lang.model.element.Element; | ||
|
||
|
||
/** | ||
* Convenience class to use just one class which can be used in Fluent validators and filters. | ||
*/ | ||
public class ExclusiveCriteriaCoreMatcher< | ||
ELEMENT extends Element, | ||
CHARACTERISTIC | ||
> extends AbstractBaseCoreMatcher{ | ||
|
||
/** | ||
* The wrapped criteria matcher. | ||
*/ | ||
private final CriteriaMatcher<ELEMENT, CHARACTERISTIC> matcher; | ||
|
||
/** | ||
* The constructor. | ||
* @param matcher the criteria matcher to use | ||
* @param defaultValidatorMessage the default message to use with validator | ||
*/ | ||
public ExclusiveCriteriaCoreMatcher(CriteriaMatcher<ELEMENT, CHARACTERISTIC> matcher, CoreMatcherValidationMessages defaultValidatorMessage) { | ||
super(defaultValidatorMessage); | ||
this.matcher = matcher; | ||
} | ||
|
||
/** | ||
* Gets the wrapped criteria matcher. | ||
* @return the wrapped criteria matcher | ||
*/ | ||
public CriteriaMatcher<ELEMENT, CHARACTERISTIC> getMatcher() { | ||
return matcher; | ||
} | ||
|
||
/** | ||
* Gets the validator for the wrapped criteria matcher. | ||
* @return the criteria validator instance | ||
*/ | ||
public ExclusiveCriteriaElementValidator<ELEMENT, CHARACTERISTIC, CriteriaMatcher<ELEMENT, CHARACTERISTIC>> getValidator() { | ||
return new ExclusiveCriteriaElementValidator<ELEMENT, CHARACTERISTIC, CriteriaMatcher<ELEMENT, CHARACTERISTIC>>(matcher, getDefaultValidatorMessage()); | ||
} | ||
|
||
/** | ||
* Gets the filter for the wrapped criteria matcher. | ||
* @return the criteria filter instance | ||
*/ | ||
public ExclusiveCriteriaElementFilter<ELEMENT, CHARACTERISTIC, ExclusiveCriteriaElementValidator<ELEMENT, CHARACTERISTIC, CriteriaMatcher<ELEMENT, CHARACTERISTIC>>> getFilter() { | ||
return new ExclusiveCriteriaElementFilter<ELEMENT, CHARACTERISTIC, ExclusiveCriteriaElementValidator<ELEMENT, CHARACTERISTIC, CriteriaMatcher<ELEMENT, CHARACTERISTIC>>>(getValidator()); | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.