Lines 788-793
Link Here
|
788 |
// modifiers |
788 |
// modifiers |
789 |
if (this.getModifiers() != newClassFile.getModifiers()) |
789 |
if (this.getModifiers() != newClassFile.getModifiers()) |
790 |
return true; |
790 |
return true; |
|
|
791 |
|
792 |
// meta-annotations |
793 |
if ((this.getTagBits() & TagBits.AnnotationTargetMASK|TagBits.AnnotationDeprecated) != (newClassFile.getTagBits() & TagBits.AnnotationTargetMASK|TagBits.AnnotationDeprecated)) |
794 |
return true; |
795 |
|
791 |
// superclass |
796 |
// superclass |
792 |
if (!CharOperation.equals(this.getSuperclassName(), newClassFile.getSuperclassName())) |
797 |
if (!CharOperation.equals(this.getSuperclassName(), newClassFile.getSuperclassName())) |
793 |
return true; |
798 |
return true; |
Lines 884-889
Link Here
|
884 |
private boolean hasStructuralFieldChanges(FieldInfo currentFieldInfo, FieldInfo otherFieldInfo) { |
889 |
private boolean hasStructuralFieldChanges(FieldInfo currentFieldInfo, FieldInfo otherFieldInfo) { |
885 |
if (currentFieldInfo.getModifiers() != otherFieldInfo.getModifiers()) |
890 |
if (currentFieldInfo.getModifiers() != otherFieldInfo.getModifiers()) |
886 |
return true; |
891 |
return true; |
|
|
892 |
if ((currentFieldInfo.getTagBits() & TagBits.AnnotationDeprecated) != (otherFieldInfo.getTagBits() & TagBits.AnnotationDeprecated)) |
893 |
return true; |
887 |
if (!CharOperation.equals(currentFieldInfo.getName(), otherFieldInfo.getName())) |
894 |
if (!CharOperation.equals(currentFieldInfo.getName(), otherFieldInfo.getName())) |
888 |
return true; |
895 |
return true; |
889 |
if (!CharOperation.equals(currentFieldInfo.getTypeName(), otherFieldInfo.getTypeName())) |
896 |
if (!CharOperation.equals(currentFieldInfo.getTypeName(), otherFieldInfo.getTypeName())) |
Lines 922-927
Link Here
|
922 |
} |
929 |
} |
923 |
private boolean hasStructuralMethodChanges(MethodInfo currentMethodInfo, MethodInfo otherMethodInfo) { |
930 |
private boolean hasStructuralMethodChanges(MethodInfo currentMethodInfo, MethodInfo otherMethodInfo) { |
924 |
if (currentMethodInfo.getModifiers() != otherMethodInfo.getModifiers()) |
931 |
if (currentMethodInfo.getModifiers() != otherMethodInfo.getModifiers()) |
|
|
932 |
return true; |
933 |
if ((currentMethodInfo.getTagBits() & TagBits.AnnotationDeprecated) != (otherMethodInfo.getTagBits() & TagBits.AnnotationDeprecated)) |
925 |
return true; |
934 |
return true; |
926 |
if (!CharOperation.equals(currentMethodInfo.getSelector(), otherMethodInfo.getSelector())) |
935 |
if (!CharOperation.equals(currentMethodInfo.getSelector(), otherMethodInfo.getSelector())) |
927 |
return true; |
936 |
return true; |