Top Method Summary
Options Name Purpose
InsertAsFirstStatement (RefactorSession, JPNode, longchar) Inserts source code as the first statement in the method
InsertBeforeEndMethod (RefactorSession, JPNode, longchar) Inserts source code before the end method statement of a method
InsertIntoMethod (ClassName, character, longchar, InsertCodePositionEnum) Inserts source code into an existing method


Method Detail
Top

InsertAsFirstStatement (RefactorSession, JPNode, longchar)

Purpose: Inserts source code as the first statement in the method
Notes:

Parameters:
poRefactorSession Consultingwerk.Studio.SmartRefactor.RefactorSession
The RefactorSession
poMethodNode org.prorefactor.core.JPNode
The JSNode representing a method
pcCode LONGCHAR
The source code to insert
Top

InsertBeforeEndMethod (RefactorSession, JPNode, longchar)

Purpose: Inserts source code before the end method statement of a method
Notes:

Parameters:
poRefactorSession Consultingwerk.Studio.SmartRefactor.RefactorSession
The RefactorSession
poMethodNode org.prorefactor.core.JPNode
The JSNode representing a method
pcCode LONGCHAR
The source code to insert
Top

InsertIntoMethod (ClassName, character, longchar, InsertCodePositionEnum)

Purpose: Inserts source code into an existing method
Notes:

Parameters:
poClassName Consultingwerk.ClassName
The name of the class
pcMethodName CHARACTER
The name of the method
pcCode LONGCHAR
The source code to insert
poPosition Consultingwerk.Studio.Refactor.InsertCodePositionEnum
The position to insert the code


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:30:05