public void addSuperMethod(RefMethodImpl refSuperMethod) { if (!getSuperMethods().contains(refSuperMethod) && !refSuperMethod.getSuperMethods().contains(this)) { if (mySuperMethods == null) { mySuperMethods = new ArrayList<RefMethod>(1); } mySuperMethods.add(refSuperMethod); } }