Home
last modified time | relevance | path

Searched refs:getThrownExceptions (Results 1 – 17 of 17) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithThrownExceptions.java36 NodeList<ReferenceType> getThrownExceptions(); in getThrownExceptions() method
41 return getThrownExceptions().get(i); in getThrownException()
52 getThrownExceptions().add(throwType); in addThrownException()
88 return getThrownExceptions().stream().anyMatch(t -> t.toString().equals(throwableName)); in isThrown()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DNodeWithThrownExceptionsBuildersTest.java42 assertEquals(1, addMethod.getThrownExceptions().size()); in testThrows()
45 assertEquals(2, addMethod.getThrownExceptions().size()); in testThrows()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserConstructorDeclaration.java91 return wrappedNode.getThrownExceptions().size(); in getNumberOfSpecifiedExceptions()
101 .convert(wrappedNode.getThrownExceptions().get(index), wrappedNode); in getSpecifiedException()
DJavaParserMethodDeclaration.java155 return wrappedNode.getThrownExceptions().size(); in getNumberOfSpecifiedExceptions()
164 return JavaParserFacade.get(typeSolver).convert(wrappedNode.getThrownExceptions() in getSpecifiedException()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DCallableDeclaration.java152 public NodeList<ReferenceType> getThrownExceptions() { in getThrownExceptions() method in CallableDeclaration
205 for (ReferenceType thr : getThrownExceptions()) { in appendThrowsIfRequested()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java272 if (!nodesEquals(n.getThrownExceptions(), n2.getThrownExceptions())) in visit()
297 if (!nodesEquals(n.getThrownExceptions(), n2.getThrownExceptions())) in visit()
DEqualsVisitor.java343 if (!nodesEquals(n.getThrownExceptions(), n2.getThrownExceptions())) in visit()
370 if (!nodesEquals(n.getThrownExceptions(), n2.getThrownExceptions())) in visit()
DNoCommentHashCodeVisitor.java154 … ? n.getReceiverParameter().get().accept(this, arg) : 0) * 31 + (n.getThrownExceptions().accept(th… in visit()
299 … ? n.getReceiverParameter().get().accept(this, arg) : 0) * 31 + (n.getThrownExceptions().accept(th… in visit()
DHashCodeVisitor.java162 … ? n.getReceiverParameter().get().accept(this, arg) : 0) * 31 + (n.getThrownExceptions().accept(th… in visit()
307 … ? n.getReceiverParameter().get().accept(this, arg) : 0) * 31 + (n.getThrownExceptions().accept(th… in visit()
DVoidVisitorAdapter.java212 n.getThrownExceptions().forEach(p -> p.accept(this, arg)); in visit()
415 n.getThrownExceptions().forEach(p -> p.accept(this, arg)); in visit()
DGenericVisitorAdapter.java511 result = n.getThrownExceptions().accept(this, arg); in visit()
1064 result = n.getThrownExceptions().accept(this, arg); in visit()
DCloneVisitor.java189 NodeList<ReferenceType> thrownExceptions = cloneList(n.getThrownExceptions(), arg); in visit()
206 NodeList<ReferenceType> thrownExceptions = cloneList(n.getThrownExceptions(), arg); in visit()
DModifierVisitor.java325 NodeList<ReferenceType> thrownExceptions = modifyList(n.getThrownExceptions(), arg); in visit()
656 NodeList<ReferenceType> thrownExceptions = modifyList(n.getThrownExceptions(), arg); in visit()
DGenericListVisitorAdapter.java571 tmp = n.getThrownExceptions().accept(this, arg); in visit()
1214 tmp = n.getThrownExceptions().accept(this, arg); in visit()
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java710 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
712 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) { in visit()
755 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
757 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) { in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java815 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
817 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) { in visit()
861 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
863 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) { in visit()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted671 if (!isNullOrEmpty(n.getThrownExceptions())) {
673 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) {
712 if (!isNullOrEmpty(n.getThrownExceptions())) {
714 … for (final Iterator<ReferenceType> i = n.getThrownExceptions().iterator(); i.hasNext(); ) {