VariableNameDeclaration extends AbstractNameDeclaration implements TypedNameDeclaration { public boolean isExceptionBlockParameter() { return getDeclaratorId().isExceptionBlockParameter(); } VariableNameDeclaration(ASTVariableDeclaratorId node); @Override Scope getScope(); boolean isArray(); int getArrayDepth(); boolean isVarargs(); boolean isExceptionBlockParameter(); @Deprecated boolean isLambdaTypelessParameter(); boolean isTypeInferred(); boolean isPrimitiveType(); @Override String getTypeImage(); boolean isReferenceType(); AccessNode getAccessNodeParent(); ASTVariableDeclaratorId getDeclaratorId(); @Override TypeNode getTypeNode(); @Override Class<?> getType(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testExceptionBlkParam() { ASTCompilationUnit acu = java.parse(EXCEPTION_PARAMETER); ASTVariableDeclaratorId id = acu.getFirstDescendantOfType(ASTVariableDeclaratorId.class); assertTrue(new VariableNameDeclaration(id).isExceptionBlockParameter()); }