msv.tahiti.src.com.sun.tahiti.grammar.InterfaceItem Maven / Gradle / Ivy
/*
* @(#)$Id: InterfaceItem.java 923 2001-07-20 20:45:03Z Bear $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.tahiti.grammar;
import com.sun.msv.grammar.Expression;
/**
* represents a generated interface.
*
* @author
* Kohsuke KAWAGUCHI
*/
public class InterfaceItem extends TypeItem {
protected InterfaceItem( String name, Expression body ) {
super(name);
this.exp = body;
}
public Type getSuperType() { return null; } // interfaces do not have the super type.
public Object visitJI( JavaItemVisitor visitor ) {
return visitor.onInterface(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy