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

org.hisrc.jscm.codemodel.impl.IdentifierNameImpl Maven / Gradle / Ivy

The newest version!
package org.hisrc.jscm.codemodel.impl;

import org.hisrc.jscm.codemodel.JSIdentifierName;
import org.hisrc.jscm.codemodel.JSPropertyNameVisitor;
import org.hisrc.jscm.codemodel.lang.Validate;

public class IdentifierNameImpl implements JSIdentifierName {

	private final String name;

	public IdentifierNameImpl(String name) {
		super();
		Validate.notNull(name);
		this.name = name;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public  V acceptPropertyNameVisitor(
			JSPropertyNameVisitor visitor) throws E {
		return visitor.visitIdentifierName(this);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy