public class Method extends FieldDecl implements ITypeReplacementListener, IItemWithOffset
Modifier and Type | Field and Description |
---|---|
ParameterList |
parameterlist |
Constructor and Description |
---|
Method() |
Modifier and Type | Method and Description |
---|---|
void |
call_sc_check(java.util.Vector<Class> classlist,
java.util.Hashtable classhash,
boolean ext,
java.util.Hashtable parach) |
void |
codegen(ClassFile classfile,
java.util.Vector paralist) |
TypeAssumptions |
createTypeAssumptions(Class classmember)
Diese Methode generiert die Assumptions f�r dieses Feld der Klasse classmember
|
Block |
get_Block() |
java.lang.String |
get_codegen_Param_Type(java.util.Vector paralist) |
ExceptionList |
get_ExceptionList() |
java.lang.String |
get_Method_Name() |
java.util.Vector |
get_Type_Paralist() |
java.util.Vector<GenericTypeVar> |
getGenericMethodParameters() |
int |
getLineNumber() |
int |
getOffset() |
int |
getOverloadedID() |
int |
getParameterCount()
Author: Jrg Buerle
|
ParameterList |
getParameterList() |
Type |
getReturnType()
Liefert den Return Type der Methode.
|
java.lang.String |
getTypeInformation() |
int |
getTypeLineNumber()
Author: Jrg Buerle |
java.lang.String |
getTypeName() |
int |
getVariableLength() |
boolean |
isAbstract()
Gibt zurueck, ob ByteCode innerhabl der Methode
generiert wird.
|
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
replaceType(CReplaceTypeEvent e)
Author: Jrg Buerle |
void |
sc_init_parameterlist(boolean ext) |
void |
set_Block(Block blo) |
void |
set_ExceptionList(ExceptionList exlist) |
void |
set_Method_Name(java.lang.String string) |
void |
set_Modifiers(Modifiers modif) |
void |
setAbstract(boolean b)
Legt fuer die ByteCodeGen fest, ob Bytecode
innerhalb der Methode generiert wird.
|
void |
setGenericMethodParameters(java.util.Vector<GenericTypeVar> genericMethodParameters) |
void |
setLineNumber(int lineNumber) |
void |
setOffset(int Offset) |
void |
setOverloadedID(int overloadedID) |
void |
setParameterList(ParameterList paralist) |
void |
setReturnType(Type type)
Author: Jrg Buerle |
java.lang.String |
toString()
Author: Martin Pl�micke |
ConstraintsSet |
TYPE(TypeAssumptions ass) |
void |
wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist) |
get_Name, getDeclIdVector, set_DeclId, setDeclIdVector
public ParameterList parameterlist
public void setGenericMethodParameters(java.util.Vector<GenericTypeVar> genericMethodParameters)
public java.util.Vector<GenericTypeVar> getGenericMethodParameters()
public void call_sc_check(java.util.Vector<Class> classlist, java.util.Hashtable classhash, boolean ext, java.util.Hashtable parach) throws SCMethodException
SCMethodException
public void sc_init_parameterlist(boolean ext)
public java.lang.String getTypeName()
getTypeName
in class FieldDecl
public Block get_Block()
public void setReturnType(Type type)
type
- public void set_Block(Block blo)
public void set_Modifiers(Modifiers modif)
public void set_ExceptionList(ExceptionList exlist)
public void setParameterList(ParameterList paralist)
public ParameterList getParameterList()
public int getParameterCount()
public ExceptionList get_ExceptionList()
public int getOverloadedID()
public void setOverloadedID(int overloadedID)
public Type getReturnType()
public java.lang.String get_codegen_Param_Type(java.util.Vector paralist)
public java.lang.String get_Method_Name()
public java.util.Vector get_Type_Paralist()
public void codegen(ClassFile classfile, java.util.Vector paralist) throws JVMCodeException
codegen
in class FieldDecl
JVMCodeException
public int getLineNumber()
public void setLineNumber(int lineNumber)
public int getOffset()
getOffset
in interface IItemWithOffset
public int getVariableLength()
getVariableLength
in interface IItemWithOffset
public void setOffset(int Offset)
public void replaceType(CReplaceTypeEvent e)
replaceType
in interface ITypeReplacementListener
e
- public int getTypeLineNumber()
getTypeLineNumber
in interface ITypeReplacementListener
public java.lang.String toString()
toString
in class java.lang.Object
public void setAbstract(boolean b)
public boolean isAbstract()
public void wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist)
public void set_Method_Name(java.lang.String string)
public ConstraintsSet TYPE(TypeAssumptions ass)
public java.lang.String getTypeInformation()
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class FieldDecl
public TypeAssumptions createTypeAssumptions(Class classmember)
FieldDecl
createTypeAssumptions
in class FieldDecl