public override Operation Clone(CompositeType newParent) { JavaConstructor constructor = new JavaConstructor(newParent); constructor.CopyFrom(this); return(constructor); }
public override Constructor AddConstructor() { Constructor constructor = new JavaConstructor(this); if (Modifier == ClassModifier.Abstract) { constructor.AccessModifier = AccessModifier.Protected; } else { constructor.AccessModifier = AccessModifier.Public; } AddOperation(constructor); return(constructor); }