de.uni_paderborn.fujaba.codegen
Class TypeCastOOFunction

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.CodeGenFunction
      extended byde.uni_paderborn.fujaba.codegen.OOGenFunction
          extended byde.uni_paderborn.fujaba.codegen.TypeCastOOFunction

public class TypeCastOOFunction
extends OOGenFunction

Class TypeCastOOFunction

Version:
$Revision: 1.16.2.1 $
Author:
$Author: creckord $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.CodeGenFunction
IN_ORDER, NORM, POST_ORDER, PRE_ORDER
 
Constructor Summary
TypeCastOOFunction()
          Default Constructor
 
Method Summary
 java.lang.Object generateCode(FElement asgElement, java.lang.String methodName, java.lang.Object[] param)
          Describe generateOOCode method here.
 boolean isResponsible(java.lang.String methodName)
          Get the responsible attribute of the TypeCastOOFunction object
 java.lang.String toString()
           
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.CodeGenFunction
add, concat, findNextResponsible, generate, generateCode, generateCode, generateCode, getClient, getClientOfChain, getMode, getPrevFunction, getSuccessor, setClient, setMode, setPrevFunction, setSuccessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeCastOOFunction

public TypeCastOOFunction()
Default Constructor

Method Detail

isResponsible

public final boolean isResponsible(java.lang.String methodName)
Get the responsible attribute of the TypeCastOOFunction object

Specified by:
isResponsible in class CodeGenFunction
Parameters:
methodName - No description provided
Returns:
The responsible value

generateCode

public final java.lang.Object generateCode(FElement asgElement,
                                           java.lang.String methodName,
                                           java.lang.Object[] param)
Describe generateOOCode method here.

Overrides:
generateCode in class CodeGenFunction
Parameters:
methodName - a String value
param - No description provided
asgElement - No description provided
Returns:
an LinkedList[OOStatement] value

toString

public java.lang.String toString()
Overrides:
toString in class OOGenFunction
Returns:
short string representation of current object