// ino.module.InterfaceBody.8583.package package de.dhbwstuttgart.syntaxtree; // ino.end // ino.module.InterfaceBody.8583.import import de.dhbwstuttgart.typeinference.Menge; import de.dhbwstuttgart.myexception.JVMCodeException; import de.dhbwstuttgart.syntaxtree.modifier.Modifiers; // ino.class.InterfaceBody.23984.description type=javadoc /** * Die Klasse enthaelt den Inhalt eines Interfaces, also Konstanten- * und Mehtodendefinitionen. * @author SCJU * */ // ino.end // ino.class.InterfaceBody.23984.declaration public class InterfaceBody // ino.end // ino.class.InterfaceBody.23984.body { // ino.attribute.ConstantVektor.23987.declaration protected Menge ConstantVektor = new Menge(); // ino.end // ino.attribute.MethodVektor.23990.declaration protected Menge MethodVektor = new Menge(); // ino.end // ino.method.InterfaceBody.23993.defdescription type=line // Konstruktoren // ino.end // ino.method.InterfaceBody.23993.definition public InterfaceBody() // ino.end // ino.method.InterfaceBody.23993.body { } // ino.end // ino.method.addElement.23996.defdescription type=javadoc /** * Fuegt ein neues Element (Konstantendefinition oder abstrakte * Methode) ein. */ // ino.end // ino.method.addElement.23996.definition public void addElement(Field fd) // ino.end // ino.method.addElement.23996.body { if (fd instanceof Constant) { ConstantVektor.addElement((Constant) fd); } else if (fd instanceof Method) { MethodVektor.addElement((Method) fd); } } // ino.end // ino.method.getConstantVektor.23999.definition public Menge getConstantVektor() // ino.end // ino.method.getConstantVektor.23999.body { return ConstantVektor; } // ino.end // ino.method.setConstantVektor.24002.definition public void setConstantVektor(Menge constantVektor) // ino.end // ino.method.setConstantVektor.24002.body { ConstantVektor = constantVektor; } // ino.end // ino.method.getMethodVektor.24005.definition public Menge getMethodVektor() // ino.end // ino.method.getMethodVektor.24005.body { return MethodVektor; } // ino.end // ino.method.setMethodVektor.24008.definition public void setMethodVektor(Menge methodVektor) // ino.end // ino.method.setMethodVektor.24008.body { MethodVektor = methodVektor; } // ino.end } // ino.end