| java.lang.Object de.uka.ilkd.key.java.KeYJavaASTFactory
All known Subclasses: de.uka.ilkd.key.java.CreateArrayMethodBuilder,
KeYJavaASTFactory | abstract public class KeYJavaASTFactory (Code) | | The KeYASTFactory helps building KeY Java AST structures.
|
Method Summary | |
public static Statement | assign(Expression lhs, Expression rhs) | public static Expression | attribute(ReferencePrefix prefix, ProgramVariable field) | public static Break | breakStatement(Label l) | public static Catch | catchClause(ParameterDeclaration param, StatementBlock body) | public static Catch | catchClause(JavaInfo javaInfo, String param, KeYJavaType kjt, StatementBlock body) | public static Catch | catchClause(JavaInfo javaInfo, String param, String type, StatementBlock body) | public static LocalVariableDeclaration | declare(ProgramElementName name, TypeReference typeRef) | public static LocalVariableDeclaration | declare(ProgramElementName name, Expression init, KeYJavaType type) | public static LocalVariableDeclaration | declare(ProgramVariable var, Expression init, KeYJavaType type) | public static LocalVariableDeclaration | declare(ProgramVariable var, KeYJavaType type) | public static LocalVariableDeclaration | declare(String name, KeYJavaType type) | public static EmptyStatement | emptyStatement() | public static If | ifElse(Expression guard, Then then, Else els) | public static If | ifThen(Expression guard, Statement then) | public static StatementBlock | insertStatementInBlock(Statement[] stmnt, StatementBlock b) | public static StatementBlock | insertStatementInBlock(StatementBlock stmnt, StatementBlock b) | public static ProgramVariable | localVariable(String name, KeYJavaType kjt) | public static ProgramVariable | localVariable(ProgramElementName name, KeYJavaType kjt) | public static ParameterDeclaration | parameterDeclaration(JavaInfo javaInfo, KeYJavaType kjt, String name) | public static ParameterDeclaration | parameterDeclaration(JavaInfo javaInfo, KeYJavaType kjt, ProgramVariable var) | public static ParameterDeclaration | parameterDeclaration(JavaInfo javaInfo, String type, String name) | public static Return | returnClause(Expression e) | public static Throw | throwClause(Expression e) |
insertStatementInBlock | public static StatementBlock insertStatementInBlock(Statement[] stmnt, StatementBlock b)(Code) | | inserts the given statements at the begin of the block
Parameters: stmnt - array of Statement those have to be inserted Parameters: b - the Statementblock where to insert |
insertStatementInBlock | public static StatementBlock insertStatementInBlock(StatementBlock stmnt, StatementBlock b)(Code) | | inserts the given statements at the begin of the block
Parameters: stmnt - array of Statement those have to be inserted Parameters: b - the Statementblock where to insert |
|
|