blob: d5c6a9b123b07ceb6172517526c449531ba08787 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.acceleo.query.validation.type;
import org.eclipse.acceleo.query.runtime.IReadOnlyQueryEnvironment;
/**
* {@link Class} literal validation type.
*
* @author <a href="mailto:yvan.lussaud@obeo.fr">Yvan Lussaud</a>
*/
public final class ClassLiteralType extends ClassType {
/**
* Constructor.
*
* @param queryEnvironment
* the {@link IReadOnlyQueryEnvironment}
* @param type
* the {@link Class}
*/
public ClassLiteralType(IReadOnlyQueryEnvironment queryEnvironment, Class<?> type) {
super(queryEnvironment, type);
}
/**
* {@inheritDoc}
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "ClassLiteral=" + super.toString();
}
}