Skip to content

Commit

Permalink
Add EnumData record so people don't have to depend on implementation …
Browse files Browse the repository at this point in the history
…details in Forge. Which is the entire point of this.
  • Loading branch information
LexManos committed Nov 2, 2023
1 parent 7f0a21e commit 0bc7ceb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class ModFileScanData {
private final Map<String,IModLanguageProvider.IModLanguageLoader> modTargets = new HashMap<>();
private List<IModFileInfo> modFiles = new ArrayList<>();

@Deprecated(forRemoval = true, since = "7.1")
public static Predicate<Type> interestingAnnotations() {
return t -> true;
}
Expand Down Expand Up @@ -52,5 +53,7 @@ public List<IModFileInfo> getIModInfoData() {

public record ClassData(Type clazz, Type parent, Set<Type> interfaces) {}

public record EnumData(Type clazz, String value) {}

public record AnnotationData(Type annotationType, ElementType targetType, Type clazz, String memberName, Map<String, Object> annotationData) {}
}

0 comments on commit 0bc7ceb

Please sign in to comment.