Home | History | Annotate | Download | only in jdiff

Lines Matching refs:newField

702                     FieldAPI newField = (FieldAPI)(newClass.fields_.get(existsNew));
704 newField.inheritedFrom_ == null) {
708 memberDiff.newType_ = newField.type_;
710 int inh = changedInheritance(oldField.inheritedFrom_, newField.inheritedFrom_);
714 memberDiff.addModifiersChange("Field was locally defined, but is now inherited from " + linkToClass(newField, true) + ".");
715 memberDiff.inheritedFrom_ = newField.inheritedFrom_;
719 memberDiff.addModifiersChange("Field was inherited from " + linkToClass(oldField, false) + ", and is now inherited from " + linkToClass(newField, true) + ".");
720 memberDiff.inheritedFrom_ = newField.inheritedFrom_;
723 if (oldField.isTransient_ != newField.isTransient_) {
733 if (oldField.isVolatile_ != newField.isVolatile_) {
744 newField.value_ != null &&
745 oldField.value_.compareTo(newField.value_) != 0) {
747 + " to " + newField.value_ +".";
752 if (docChanged(oldField.doc_, newField.doc_)) {
755 String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + newField.name_ + "\" class=\"hiddenlink\">";
756 String id = pkgDiff.name_ + "." + classDiff.name_ + ".field." + newField.name_;
758 link2 + HTMLReportGenerator.simpleName(memberDiff.newType_) + " <b>" + newField.name_ + "</b></a>";
759 memberDiff.documentationChange_ = Diff.saveDocDiffs(pkgDiff.name_, classDiff.name_, oldField.doc_, newField.doc_, id, title);
764 String modifiersChange = oldField.modifiers_.diff(newField.modifiers_);
767 System.out.println("JDiff: warning: change from deprecated to undeprecated for class " + newClass.name_ + ", field " + newField.name_);
770 System.out.println(" Field " + newField.name_ + " was changed");
786 FieldAPI newField = (FieldAPI)(iter.next());
788 if (newField.inheritedFrom_ != null)
790 int idx = Collections.binarySearch(oldClass.fields_, newField);
793 int existsOld = oldClass.fields_.indexOf(newField);
798 System.out.println(" Field " + newField.name_ + " was added");
799 classDiff.fieldsAdded.add(newField);