public override Operation Clone(CompositeType newParent) { JavaMethod method = new JavaMethod(newParent); method.CopyFrom(this); return method; }