Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.forthecrown.grenadier.annotations.tree;
import it.unimi.dsi.fastutil.Pair;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.function.Predicate;
import java.util.stream.Stream;
import net.forthecrown.grenadier.annotations.util.Result;
import net.forthecrown.grenadier.annotations.util.Utils;
import org.jetbrains.annotations.ApiStatus.Internal;
import org.jetbrains.annotations.NotNull;
/**
* Reference to a method/field inside a class
*
* @param name Name of the member
* @param kind Member's type
* @param next Next reference in the chain of references,
* {@code null}, if there is no next node
*/
@Internal
public record MemberChainTree(
String name,
Kind kind,
MemberChainTree next
) {
public MemberChainTree(String name, Kind kind, MemberChainTree next) {
this.name = Objects.requireNonNull(name);
this.kind = Objects.requireNonNull(kind);
this.next = next;
}
public @NotNull Pair