package ca.uwaterloo.joos.ast.descriptor;

/**
 * @author wenzhuman
 * 
 */
public class Descriptor {
	private final Class<?> elementClass;

	public Descriptor(Class<?> elementClass) {
		this.elementClass = elementClass;
	}

	public Class<?> getElementClass() {
		return elementClass;
	}
}

package ca.uwaterloo.joos.ast.descriptor;

/**
 * @author wenzhuman
 * 
 */
public class Descriptor {
	private final Class<?> elementClass;

	public Descriptor(Class<?> elementClass) {
		this.elementClass = elementClass;
	}

	public Class<?> getElementClass() {
		return elementClass;
	}
	
	@Override
	public String toString() {
		return "<" + this.getClass().getSimpleName() + ">";
	}
}

Add toString to Descriptor