public String getSignature(String methodName) { MethodDeclaration method= null; try { method= createNewMethod(methodName, false, null, StubUtility.getLineDelimiterUsed(fCUnit), null); } catch (CoreException cannotHappen) {  Assert.isTrue(false); } catch (BadLocationException e) {  Assert.isTrue(false); } method.setBody(fAST.newBlock()); ASTFlattener flattener= new ASTFlattener() { public boolean visit(Block node) { return false; } }; method.accept(flattener); return flattener.getResult();
public String getSignature() { return getSignature(fMethodName);
	public String getSignature(String methodName) {		MethodDeclaration method= null;		try {			method= createNewMethod(methodName, false, null, StubUtility.getLineDelimiterUsed(fCUnit), null);		} catch (CoreException cannotHappen) {			// we don't generate a code block and java comments.			Assert.isTrue(false);		} catch (BadLocationException e) {			// we don't generate a code block and java comments.			Assert.isTrue(false);		}		method.setBody(fAST.newBlock());		ASTFlattener flattener= new ASTFlattener() {			public boolean visit(Block node) {				return false;			}		};		method.accept(flattener);		return flattener.getResult();			}