Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ch.epfl.lamp.smartanalysis.modifications
Class AddedNonPrivateField  view AddedNonPrivateField download AddedNonPrivateField.java

java.lang.Object
  extended bych.epfl.lamp.smartanalysis.modifications.FieldModification
      extended bych.epfl.lamp.smartanalysis.modifications.AddedNonPrivateField
All Implemented Interfaces:
Modification

public class AddedNonPrivateField
extends FieldModification

Added a non-private field dField to C that hides a non-private field with the same name in C's superclass.

Version:
1.0

Field Summary
private  ch.epfl.lamp.smartanalysis.Reference hiddenField
           
 
Fields inherited from class ch.epfl.lamp.smartanalysis.modifications.FieldModification
 
Constructor Summary
AddedNonPrivateField(ch.epfl.lamp.smartanalysis.DepField dField, ch.epfl.lamp.smartanalysis.Reference hiddenField)
          Creates a new AddedNonPrivateField instance.
 
Method Summary
 ch.epfl.lamp.smartanalysis.DepClass[] getAffectedClasses()
          each class that reference hiddenField (the herrited field) on dField.class
 void update()
          DOCUMENT ME!
 
Methods inherited from class ch.epfl.lamp.smartanalysis.modifications.FieldModification
getOnField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hiddenField

private ch.epfl.lamp.smartanalysis.Reference hiddenField
Constructor Detail

AddedNonPrivateField

public AddedNonPrivateField(ch.epfl.lamp.smartanalysis.DepField dField,
                            ch.epfl.lamp.smartanalysis.Reference hiddenField)
Creates a new AddedNonPrivateField instance.

Method Detail

getAffectedClasses

public ch.epfl.lamp.smartanalysis.DepClass[] getAffectedClasses()
                                                         throws java.lang.Exception
each class that reference hiddenField (the herrited field) on dField.class


update

public void update()
            throws java.lang.Exception
DOCUMENT ME!