File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
inject-generator/src/main/java/io/avaje/inject/generator Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
final class TypeExtendsReader {
15
15
16
16
private static final String JAVA_LANG_OBJECT = "java.lang.Object" ;
17
+ private static final String JAVA_LANG_RECORD = "java.lang.Record" ;
17
18
private final GenericType baseGenericType ;
18
19
private final TypeElement baseType ;
19
20
private final ProcessingContext context ;
@@ -139,9 +140,9 @@ private String initProvidesAspect() {
139
140
140
141
private void addSuperType (TypeElement element ) {
141
142
readInterfaces (element );
142
- String fullName = element .getQualifiedName ().toString ();
143
- if (!fullName .equals (JAVA_LANG_OBJECT )) {
144
- String type = Util .unwrapProvider (fullName );
143
+ final String fullName = element .getQualifiedName ().toString ();
144
+ if (!fullName .equals (JAVA_LANG_OBJECT ) && ! fullName . equals ( JAVA_LANG_RECORD ) ) {
145
+ final String type = Util .unwrapProvider (fullName );
145
146
if (isPublic (element )) {
146
147
extendsTypes .add (type );
147
148
extendsInjection .read (element );
You can’t perform that action at this time.
0 commit comments