public class MethodCall extends Expr
Constructor and Description |
---|
MethodCall(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
void |
add_Expr(Expr e) |
void |
addOffsetsToExpression(CTypeAssumption localAssumption,
java.lang.String NameVariable,
boolean isMemberVariable) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
java.util.Vector paralist) |
java.lang.String |
get_Name() |
Receiver |
get_Receiver() |
ArgumentList |
getArgumentList() |
Method |
getMethodFittingMethodCallAndClassname(java.lang.String className)
hoti 4.5.06
Diese Methode l�dt die Methodeninfos einer Methode aus der Hashtable
methodsfittingmethodcall in ein Method-Objekt
anhand der angegeben klasse
|
java.lang.String |
getName() |
java.lang.String |
printJavaCode(ResultSet resultSet) |
void |
sc_check_get_Method(java.util.Vector<Class> classlist,
java.lang.String methodname,
boolean ext,
java.util.Hashtable parach,
java.util.Hashtable parabh) |
boolean |
sc_check_method_kleiner(java.util.Vector<Class> classlist,
java.lang.String ist,
java.lang.String soll,
boolean ext) |
void |
sc_check_uebergabe(java.util.Vector<Class> classlist,
java.util.Vector<Method> method,
boolean ext,
int paranum,
java.util.Hashtable parach,
java.util.Hashtable parabh) |
void |
sc_check(java.util.Vector<Class> classname,
java.util.Hashtable ch,
java.util.Hashtable<java.lang.String,java.lang.String> bh,
boolean ext,
java.util.Hashtable parach,
java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh) |
void |
sc_init_extended_fcts(java.util.Vector<Method> method,
java.util.Vector<Class> classlist,
java.lang.String methodname,
java.lang.String classname,
boolean ext) |
void |
set_ArgumentList(ArgumentList al) |
void |
set_Expr_Vector(java.util.Vector<Expr> v) |
void |
set_Name(java.lang.String name) |
void |
set_Receiver(Receiver rec) |
void |
set_UsedId(UsedId u) |
java.lang.String |
toString()
Author: Martin Pl�micke |
CTripleSet |
TRExp(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.33 von Martin Pl�micke
Author: J�rg B�uerle |
CTripleSet |
TRMCallApp(CMultiplyTuple multiTuple,
java.lang.String classOrIdentifierName,
java.lang.String methodName,
int paraCount,
boolean isConstructorCall,
CSupportData supportData)
Implementierung des Algorithmus 5.34 von Martin Pl�micke
|
CTripleSet |
TRStatement(CSubstitutionSet sigma,
CTypeAssumptionSet V,
CSupportData supportData)
Implementierung des Algorithmus 5.27 von Martin Pl�micke
Author: J�rg B�uerle |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions) |
ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions)
Spezifikation:
TYPEStmt( Ass, stmt ) =
let (stmt : rty, ConS) = TYPEExpr( Ass, stmt )
in (stmt : Void, ConS)
|
void |
wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist,
java.util.Vector<GenericTypeVar> genericMethodParameters) |
addOffsetsToStatement, get_Name_Vector, get_Type_Vector, get_UsedId, set_Type, TRMultiply, TRTuple
getType, getTypeLineNumber, getTypeName
getOffset, getTypeInformation, getTypeVariable, getVariableLength, replaceType, setType, setTypeVariable
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
replaceType
public void set_ArgumentList(ArgumentList al)
public ArgumentList getArgumentList()
public Receiver get_Receiver()
public void set_Name(java.lang.String name)
public void sc_check(java.util.Vector<Class> classname, java.util.Hashtable ch, java.util.Hashtable<java.lang.String,java.lang.String> bh, boolean ext, java.util.Hashtable parach, java.util.Hashtable<java.lang.String,java.util.Hashtable> parabh) throws SCStatementException
sc_check
in class Expr
SCStatementException
public void sc_check_get_Method(java.util.Vector<Class> classlist, java.lang.String methodname, boolean ext, java.util.Hashtable parach, java.util.Hashtable parabh) throws SCStatementException
SCStatementException
public void sc_check_uebergabe(java.util.Vector<Class> classlist, java.util.Vector<Method> method, boolean ext, int paranum, java.util.Hashtable parach, java.util.Hashtable parabh) throws SCStatementException
SCStatementException
public boolean sc_check_method_kleiner(java.util.Vector<Class> classlist, java.lang.String ist, java.lang.String soll, boolean ext)
public void sc_init_extended_fcts(java.util.Vector<Method> method, java.util.Vector<Class> classlist, java.lang.String methodname, java.lang.String classname, boolean ext)
public void set_Receiver(Receiver rec)
public void set_UsedId(UsedId u)
set_UsedId
in class Expr
public void set_Expr_Vector(java.util.Vector<Expr> v)
public void add_Expr(Expr e)
public Method getMethodFittingMethodCallAndClassname(java.lang.String className) throws JVMCodeException
className
- JVMCodeException
methodsFittingMethodCall
public void codegen(ClassFile classfile, CodeAttribute code, java.util.Vector paralist) throws JVMCodeException
codegen
in class Statement
JVMCodeException
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
TRStatement
in class Statement
sigma
- V
- supportData
- public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
public CTripleSet TRMCallApp(CMultiplyTuple multiTuple, java.lang.String classOrIdentifierName, java.lang.String methodName, int paraCount, boolean isConstructorCall, CSupportData supportData)
multiTuple
- classOrIdentifierName
- methodName
- paraCount
- isConstructorCall
- supportData
- public java.lang.String toString()
toString
in class java.lang.Object
public void wandleRefTypeAttributes2GenericAttributes(java.util.Vector<Type> paralist, java.util.Vector<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
public void addOffsetsToExpression(CTypeAssumption localAssumption, java.lang.String NameVariable, boolean isMemberVariable)
addOffsetsToExpression
in class Expr
public java.lang.String getName()
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public java.lang.String printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement