mycompiler.myclass
Class Method
java.lang.Object
mycompiler.myclass.FieldDecl
mycompiler.myclass.Method
- All Implemented Interfaces:
- ITypeReplacementListener
- Direct Known Subclasses:
- Constructor
public class Method
- extends FieldDecl
- implements ITypeReplacementListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameterlist
protected ParameterList parameterlist
Method
public Method()
call_sc_check
public void call_sc_check(de.dhbwstuttgart.typeinference.Menge classlist,
java.util.Hashtable classhash,
boolean ext,
java.util.Hashtable parach)
throws SCMethodException
- Throws:
SCMethodException
sc_init_parameterlist
public void sc_init_parameterlist(boolean ext)
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in class FieldDecl
get_Block
public Block get_Block()
setReturnType
public void setReturnType(Type type)
Author: J�rg B�uerle
- Parameters:
type
-
set_Block
public void set_Block(Block blo)
set_Modifiers
public void set_Modifiers(Modifiers modif)
set_ExceptionList
public void set_ExceptionList(ExceptionList exlist)
setParameterList
public void setParameterList(ParameterList paralist)
getParameterList
public ParameterList getParameterList()
getParameterCount
public int getParameterCount()
- Author: J�rg B�uerle
- Returns:
- Die Anzahl der Methoden-Paramater
get_ExceptionList
public ExceptionList get_ExceptionList()
getReturnType
public Type getReturnType()
get_codegen_Param_Type
public java.lang.String get_codegen_Param_Type(de.dhbwstuttgart.typeinference.Menge paralist)
get_Method_Name
public java.lang.String get_Method_Name()
get_Type_Paralist
public de.dhbwstuttgart.typeinference.Menge get_Type_Paralist()
codegen
public void codegen(ClassFile classfile,
de.dhbwstuttgart.typeinference.Menge paralist)
throws JVMCodeException
- Specified by:
codegen
in class FieldDecl
- Throws:
JVMCodeException
getLineNumber
public int getLineNumber()
setLineNumber
public void setLineNumber(int lineNumber)
replaceType
public void replaceType(CReplaceTypeEvent e)
Author: J�rg B�uerle
- Specified by:
replaceType
in interface ITypeReplacementListener
- Parameters:
e
-
getTypeLineNumber
public int getTypeLineNumber()
Author: J�rg B�uerle
- Specified by:
getTypeLineNumber
in interface ITypeReplacementListener
- Returns: