| java.lang.Object org.netbeans.modules.visualweb.insync.java.Method org.netbeans.modules.visualweb.insync.java.EventMethod
EventMethod | public class EventMethod extends Method (Code) | | author: jdeva |
getMethodReturn | public String getMethodReturn()(Code) | | the string returned by the last return statement |
updateLastReturnStatement | public void updateLastReturnStatement(String newStr)(Code) | | Update the last null return statement with a string return statement
|
updateReturnStrings | public void updateReturnStrings(String oldStr, String newStr)(Code) | | Update all return statements returning the old string literal with new
string literal. Uses visitor class to achieve
|
Methods inherited from org.netbeans.modules.visualweb.insync.java.Method | void addCleanupStatements(WorkingCopy wc, List<Bean> beans)(Code)(Java Doc) public Statement addEventSetStatement(String beanName, String methodName, String adapterClassName)(Code)(Java Doc) public void addEventSetStatements(Bean bean)(Code)(Java Doc) protected StatementTree addMethodInvocationStatement(WorkingCopy wc, MethodTree methodTree, MethodInvocationTree exprTree)(Code)(Java Doc) public void addPropertySetStatements(Bean bean)(Code)(Java Doc) BlockTree addPropertySetStatements(WorkingCopy wc, Bean bean, BlockTree modifiedBlockTree)(Code)(Java Doc) protected StatementTree addReturnStatement(WorkingCopy wc, MethodTree methodTree, ExpressionTree exprTree)(Code)(Java Doc) public Statement findPropertyStatement(String beanName, String methodName)(Code)(Java Doc) StatementTree findPropertyStatement(CompilationInfo cinfo, String beanName, String methodName)(Code)(Java Doc) public static String getBodyText(CompilationInfo cinfo, MethodTree tree)(Code)(Java Doc) public String getBodyText()(Code)(Java Doc) public String getCommentText(CompilationInfo cinfo, MethodTree tree)(Code)(Java Doc) public int[] getCursorPosition(boolean inserted)(Code)(Java Doc) public ExecutableElement getElement(CompilationInfo cinfo)(Code)(Java Doc) public ElementHandle<ExecutableElement> getElementHandle()(Code)(Java Doc) public JavaClass getJavaClass()(Code)(Java Doc) public int getModifierFlags(MethodTree tree)(Code)(Java Doc) public String getName()(Code)(Java Doc) public List<Statement> getPropertySetStatements()(Code)(Java Doc) public boolean hasInitBlock()(Code)(Java Doc) public boolean isConstructor()(Code)(Java Doc) public void remove()(Code)(Java Doc) void removeCleanupStatements(WorkingCopy wc, List<Bean> beans)(Code)(Java Doc) BlockTree removeSetStatements(WorkingCopy wc, Bean bean, BlockTree oldBlockTree)(Code)(Java Doc) public void removeStatement(String beanName, String methodName)(Code)(Java Doc) boolean removeStatement(WorkingCopy wc, StatementTree stmtTree)(Code)(Java Doc) public void rename(String name)(Code)(Java Doc) public void replaceBody(String bodyText)(Code)(Java Doc) public void update(ContextMethod method)(Code)(Java Doc)
|
|
|