Lines Matching defs:mInfo

745   public boolean isConsistent(MethodInfo mInfo) {
747 if (this.mReturnType != mInfo.mReturnType && !this.mReturnType.equals(mInfo.mReturnType)) {
748 if (!mReturnType.isPrimitive() && !mInfo.mReturnType.isPrimitive()) {
750 ApiInfo infoApi = mInfo.containingClass().containingPackage().containingApi();
751 ClassInfo infoReturnClass = infoApi.findClass(mInfo.mReturnType.qualifiedTypeName());
760 Errors.error(Errors.CHANGED_TYPE, mInfo.position(), "Method " + mInfo.qualifiedName()
761 + " has changed return type from " + mReturnType + " to " + mInfo.mReturnType);
765 if (mIsAbstract != mInfo.mIsAbstract) {
767 Errors.error(Errors.CHANGED_ABSTRACT, mInfo.position(), "Method " + mInfo.qualifiedName()
771 if (mIsNative != mInfo.mIsNative) {
773 Errors.error(Errors.CHANGED_NATIVE, mInfo.position(), "Method " + mInfo.qualifiedName()
782 if (!isEffectivelyFinal() && mInfo.isEffectivelyFinal()) {
784 Errors.error(Errors.ADDED_FINAL, mInfo.position(), "Method " + mInfo.qualifiedName()
786 } else if (isEffectivelyFinal() && !mInfo.isEffectivelyFinal()) {
788 Errors.error(Errors.REMOVED_FINAL, mInfo.position(), "Method " + mInfo.qualifiedName()
793 if (mIsStatic != mInfo.mIsStatic) {
795 Errors.error(Errors.CHANGED_STATIC, mInfo.position(), "Method " + mInfo.qualifiedName()
799 if (!scope().equals(mInfo.scope())) {
801 Errors.error(Errors.CHANGED_SCOPE, mInfo.position(), "Method " + mInfo.qualifiedName()
802 + " changed scope from " + scope() + " to " + mInfo.scope());
805 if (!isDeprecated() == mInfo.isDeprecated()) {
806 Errors.error(Errors.CHANGED_DEPRECATED, mInfo.position(), "Method " + mInfo.qualifiedName()
807 + " has changed deprecation state " + isDeprecated() + " --> " + mInfo.isDeprecated());
814 if (mIsSynchronized != mInfo.mIsSynchronized) {
815 Errors.error(Errors.CHANGED_SYNCHRONIZED, mInfo.position(), "Method " + mInfo.qualifiedName()
817 + mInfo.mIsSynchronized);
823 if (!mInfo.throwsException(exception)) {
826 Errors.error(Errors.CHANGED_THROWS, mInfo.position(), "Method " + mInfo.qualifiedName()
833 for (ClassInfo exec : mInfo.thrownExceptions()) {
837 Errors.error(Errors.CHANGED_THROWS, mInfo.position(), "Method " + mInfo.qualifiedName()