Skip to content

Commit a090eba

Browse files
committed
Update AliasReader.java
1 parent 51e8dfe commit a090eba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jsonb-generator/src/main/java/io/avaje/jsonb/generator/AliasReader.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
import javax.lang.model.element.AnnotationMirror;
77
import javax.lang.model.element.Element;
88

9-
class AliasReader {
9+
final class AliasReader {
10+
private AliasReader() {}
1011

1112
private static final String JSON_ALIAS = "io.avaje.jsonb.Json.JsonAlias";
1213

13-
/** Read the Json.Property annotation using annotation mirrors. */
14+
/** Read the Json.Alias annotation using annotation mirrors. */
1415
static List<String> getAliases(Element element) {
1516
for (final AnnotationMirror mirror : element.getAnnotationMirrors()) {
1617
if (JSON_ALIAS.equals(mirror.getAnnotationType().toString())) {

0 commit comments

Comments
 (0)