FileDocCategorySizeDatePackage
MemberDiff.javaAPI DocAndroid 1.5 API2004Wed May 06 22:41:22 BST 2009jdiff

MemberDiff

public class MemberDiff extends Object
The changes between two class constructor, method or field members. See the file LICENSE.txt for copyright details.
author
Matthew Doar, mdoar@pobox.com

Fields Summary
public String
name_
The name of the member.
public String
oldType_
The old member type. For methods, this is the return type.
public String
newType_
The new member type. For methods, this is the return type.
public String
oldSignature_
The old signature. Null except for methods.
public String
newSignature_
The new signature. Null except for methods.
public String
oldExceptions_
The old list of exceptions. Null except for methods and constructors.
public String
newExceptions_
The new list of exceptions. Null except for methods and constructors.
public String
documentationChange_
A string describing the changes in documentation.
public String
modifiersChange_
A string describing the changes in modifiers. Changes can be in whether this is abstract, static, final, and in its visibility. Null if no change.
public String
inheritedFrom_
The class name where the new member is defined. Null if no change in inheritance.
Constructors Summary
public MemberDiff(String name)
Default constructor.


       
       
        name_ = name;
    
Methods Summary
public voidaddModifiersChange(java.lang.String commonModifierChanges)
Add a change in the modifiers.

        if (commonModifierChanges != null) {
            if (modifiersChange_ == null)
                modifiersChange_ = commonModifierChanges;
            else
                modifiersChange_ += " " + commonModifierChanges;
        }