FunctionNode extends AbstractNode implements IFunction { public IParserNode getSuperCall() { if ( body != null && body.numChildren() != 0 ) { for ( final IParserNode childContent : body.getChildren() ) { if ( NodeKind.CALL.equals( childContent.getId() ) || NodeKind.DOT.equals( childContent.getId() ) ) { for ( final IParserNode childCall : childContent.getChildren() ) { if ( KeyWords.SUPER.toString().equals( childCall.getStringValue() ) ) { return childContent; } } } } } return null; } protected  FunctionNode( final IParserNode node ); void add( final IMetaData metaData ); void add( final Modifier modifier ); @Override FunctionNode compute(); List< IParserNode > findPrimaryStatementInBody( final String[] primaryNames ); List< IParserNode > findPrimaryStatementsInBody( final String primaryName ); List< IMetaData > getAllMetaData(); IParserNode getAsDoc(); IParserNode getBody(); int getCyclomaticComplexity(); Map< String, IParserNode > getLocalVariables(); List< IMetaData > getMetaData( final MetaData metaDataName ); int getMetaDataCount(); List< IParserNode > getMultiLinesComment(); String getName(); List< IParameter > getParameters(); IIdentifierNode getReturnType(); int getStatementNbInBody(); IParserNode getSuperCall(); boolean is( final Modifier modifier ); boolean isEventHandler(); boolean isGetter(); boolean isOverriden(); boolean isPublic(); boolean isSetter();  }
@Test public void testSuperCall() { assertNotNull( constructor.getSuperCall() ); assertNotNull( drawHighlightIndicator.getSuperCall() ); assertNotNull( placeSortArrow.getSuperCall() ); assertNull( drawRowBackground.getSuperCall() ); }