public class TypeEvent extends java.lang.Object implements DebugEvent
TypeListener| Constructor and Description |
|---|
TypeEvent(Typeable typeable,
Type oldType,
Type newType)
Construct a TypeEvent, with the specified Typeable and the
old and new types.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getNewType()
Return the new type.
|
Type |
getOldType()
Return the old type.
|
NamedObj |
getSource()
Return the Typeable whose type is changed.
|
java.lang.String |
toString()
Return a string description for this type change.
|
public TypeEvent(Typeable typeable, Type oldType, Type newType)
typeable - The Typeable whose type is changed.oldType - The type of the Typeable before the change.newType - The type of the Typeable after the change.public Type getNewType()
public Type getOldType()
public NamedObj getSource()
getSource in interface DebugEventpublic java.lang.String toString()
toString in interface DebugEventtoString in class java.lang.Object