ASTThrowStatement extends AbstractJavaNode { @Deprecated public final String getFirstClassOrInterfaceTypeImage() { final ASTClassOrInterfaceType t = getFirstDescendantOfType(ASTClassOrInterfaceType.class); return t == null ? null : t.getImage(); } @InternalApi @Deprecated  ASTThrowStatement(int id); @InternalApi @Deprecated  ASTThrowStatement(JavaParser p, int id); @Override Object jjtAccept(JavaParserVisitor visitor, Object data); @Deprecated final String getFirstClassOrInterfaceTypeImage();  }
@Test public final void testGetFirstASTNameImageNull() { ASTThrowStatement t = java.getNodes(ASTThrowStatement.class, NULL_NAME).get(0); assertNull(t.getFirstClassOrInterfaceTypeImage()); }
@Test public final void testGetFirstASTNameImageNew() { ASTThrowStatement t = java.getNodes(ASTThrowStatement.class, OK_NAME).get(0); assertEquals("FooException", t.getFirstClassOrInterfaceTypeImage()); }