| java.lang.Object org.netbeans.modules.visualweb.insync.java.Method
All known Subclasses: org.netbeans.modules.visualweb.insync.java.EventMethod, org.netbeans.modules.visualweb.insync.java.DelegatorMethod,
Method | public class Method (Code) | | author: jdeva |
Method Summary | |
void | addCleanupStatements(WorkingCopy wc, List<Bean> beans) | public Statement | addEventSetStatement(String beanName, String methodName, String adapterClassName) | public void | addEventSetStatements(Bean bean) | protected StatementTree | addMethodInvocationStatement(WorkingCopy wc, MethodTree methodTree, MethodInvocationTree exprTree) | public void | addPropertySetStatements(Bean bean) | BlockTree | addPropertySetStatements(WorkingCopy wc, Bean bean, BlockTree modifiedBlockTree) | protected StatementTree | addReturnStatement(WorkingCopy wc, MethodTree methodTree, ExpressionTree exprTree) | public Statement | findPropertyStatement(String beanName, String methodName) | StatementTree | findPropertyStatement(CompilationInfo cinfo, String beanName, String methodName) | public static String | getBodyText(CompilationInfo cinfo, MethodTree tree) | public String | getBodyText() | public String | getCommentText(CompilationInfo cinfo, MethodTree tree) | public int[] | getCursorPosition(boolean inserted) | public ExecutableElement | getElement(CompilationInfo cinfo) | public ElementHandle<ExecutableElement> | getElementHandle() | public JavaClass | getJavaClass() | public int | getModifierFlags(MethodTree tree) | public String | getName() | public List<Statement> | getPropertySetStatements() | public boolean | hasInitBlock() Check if the method has the initialization block. | public boolean | isConstructor() | public void | remove() | void | removeCleanupStatements(WorkingCopy wc, List<Bean> beans) | BlockTree | removeSetStatements(WorkingCopy wc, Bean bean, BlockTree oldBlockTree) | public void | removeStatement(String beanName, String methodName) | boolean | removeStatement(WorkingCopy wc, StatementTree stmtTree) | public void | rename(String name) | public void | replaceBody(String bodyText) | public void | update(ContextMethod method) |
addCleanupStatements | void addCleanupStatements(WorkingCopy wc, List<Bean> beans)(Code) | | |
addEventSetStatements | public void addEventSetStatements(Bean bean)(Code) | | |
addMethodInvocationStatement | protected StatementTree addMethodInvocationStatement(WorkingCopy wc, MethodTree methodTree, MethodInvocationTree exprTree)(Code) | | |
addPropertySetStatements | public void addPropertySetStatements(Bean bean)(Code) | | |
addPropertySetStatements | BlockTree addPropertySetStatements(WorkingCopy wc, Bean bean, BlockTree modifiedBlockTree)(Code) | | |
addReturnStatement | protected StatementTree addReturnStatement(WorkingCopy wc, MethodTree methodTree, ExpressionTree exprTree)(Code) | | |
findPropertyStatement | StatementTree findPropertyStatement(CompilationInfo cinfo, String beanName, String methodName)(Code) | | |
getBodyText | public static String getBodyText(CompilationInfo cinfo, MethodTree tree)(Code) | | |
getCommentText | public String getCommentText(CompilationInfo cinfo, MethodTree tree)(Code) | | |
getCursorPosition | public int[] getCursorPosition(boolean inserted)(Code) | | |
getModifierFlags | public int getModifierFlags(MethodTree tree)(Code) | | |
hasInitBlock | public boolean hasInitBlock()(Code) | | Check if the method has the initialization block. Should revisit this implementation.
Copying the old logic for time being
|
isConstructor | public boolean isConstructor()(Code) | | |
remove | public void remove()(Code) | | |
removeCleanupStatements | void removeCleanupStatements(WorkingCopy wc, List<Bean> beans)(Code) | | |
removeSetStatements | BlockTree removeSetStatements(WorkingCopy wc, Bean bean, BlockTree oldBlockTree)(Code) | | |
removeStatement | boolean removeStatement(WorkingCopy wc, StatementTree stmtTree)(Code) | | |
|
|