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

net.sourceforge.pmd.lang.java.ast.ASTNullLiteral Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

package net.sourceforge.pmd.lang.java.ast;

import org.checkerframework.checker.nullness.qual.Nullable;

/**
 * The null literal.
 *
 * 
 *
 * NullLiteral ::= "null"
 *
 * 
*/ public final class ASTNullLiteral extends AbstractLiteral implements ASTLiteral { ASTNullLiteral(int id) { super(id); } @Override public R acceptVisitor(JavaVisitor visitor, P data) { return visitor.visit(this, data); } @Override public boolean isCompileTimeConstant() { return false; } @Override public @Nullable Object getConstValue() { return null; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy