package jetbrains.mps.baseLanguage.javastub.asm; /*Generated by MPS */ import java.util.List; import java.util.Collections; import java.util.ArrayList; public class ASMFormalTypeParameter extends ASMTypeVariable { private ASMType myClassBound; private List<ASMType> myInterfaceBounds; public ASMFormalTypeParameter(String name, ASMType classBound, List<ASMType> interfaceBounds) { super(name); myClassBound = classBound; myInterfaceBounds = ((List<ASMType>) ((interfaceBounds.isEmpty() ? Collections.emptyList() : new ArrayList<ASMType>(interfaceBounds)))); } public ASMType getClassBound() { return myClassBound; } public List<ASMType> getInterfaceBounds() { return Collections.unmodifiableList(myInterfaceBounds); } }