me.wener.jraphql.parser.antlr.BypassNode Maven / Gradle / Ivy
package me.wener.jraphql.parser.antlr;
import java.util.List;
import lombok.Data;
import me.wener.jraphql.lang.Comment;
import me.wener.jraphql.lang.SourceLocation;
/**
* @author wener
* @since 16/03/2018
*/
@Data
class BypassNode implements me.wener.jraphql.lang.Node {
private T value;
public static BypassNode of(T value) {
return new BypassNode().setValue(value);
}
@Override
public SourceLocation getSourceLocation() {
throw new UnsupportedOperationException();
}
@Override
public List getComments() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy