Fix LinkageUtils
Fix Linked
Dieser Commit ist enthalten in:
Ursprung
0aa3a8ec6c
Commit
4e7f420bf8
@ -59,7 +59,7 @@ public class LinkageUtils {
|
||||
Set<LinkageType> linkageTypeSet = new HashSet<>();
|
||||
for (Linked linked : linkages) {
|
||||
if (linked == null) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
LinkageType linkageType = linked.value();
|
||||
if (linkageType.getLinkagePredicate().test(clazz)) {
|
||||
|
@ -24,13 +24,13 @@ import org.atteo.classindex.IndexAnnotated;
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@IndexAnnotated
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
@Repeatable(Linked.Linkages.class)
|
||||
public @interface Linked {
|
||||
LinkageType value();
|
||||
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
@interface Linkages {
|
||||
Linked[] value() default {};
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren