All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.parse.expr.MethodReferenceNode Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version

/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package org.jsimpledb.parse.expr;

import com.google.common.base.Preconditions;

/**
 * {@link Node} representing a method reference.
 */
public abstract class MethodReferenceNode extends TypeInferringNode {

    final String name;

    /**
     * Constructor.
     *
     * @param name method name
     * @throws IllegalArgumentException if {@code name} is null
     */
    protected MethodReferenceNode(String name) {
        Preconditions.checkArgument(name != null, "null name");
        this.name = name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy