1 package spoon.reflect.reference;2 3 import java.util.List ;4 5 /**6 * This interface defines a reference to a7 * {@link spoon.reflect.declaration.CtTypeParameter}.8 */9 public interface CtTypeParameterReference extends CtTypeReference<Object > {10 11 /**12 * Gets the bounds (aka generics) of the referenced parameter.13 */14 List <CtTypeReference> getBounds();15 16 /**17 * Returns {@code true} if the bounds are upper bounds.18 */19 boolean isUpper();20 21 /**22 * Sets the bounds (aka generics) of the referenced parameter.23 */24 void setBounds(List <CtTypeReference> Bounds);25 26 /**27 * Set to {@code true} if the bounds are upper bounds.28 */29 void setUpper(boolean upper);30 31 }32