Home
last modified time | relevance | path

Searched refs:isChildOfClass (Results 1 – 4 of 4) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTextElement.java64 public abstract boolean isChildOfClass(Class<? extends Node> nodeClass); in isChildOfClass() method in TextElement
67 return isChildOfClass(Node.class); in isChild()
DChildTextElement.java104 public boolean isChildOfClass(Class<? extends Node> nodeClass) { in isChildOfClass() method in ChildTextElement
DTokenTextElement.java114 public boolean isChildOfClass(Class<? extends Node> nodeClass) { in isChildOfClass() method in TokenTextElement
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java735 assertTrue(nodeText.getElements().get(index++).isChildOfClass(Modifier.class)); in nodeTextForMethod()
737 assertTrue(nodeText.getElements().get(index++).isChildOfClass(VoidType.class)); in nodeTextForMethod()
739 assertTrue(nodeText.getElements().get(index++).isChildOfClass(SimpleName.class)); in nodeTextForMethod()
741 assertTrue(nodeText.getElements().get(index++).isChildOfClass(Parameter.class)); in nodeTextForMethod()
744 assertTrue(nodeText.getElements().get(index++).isChildOfClass(BlockStmt.class)); in nodeTextForMethod()
759 assertTrue(nodeText.getElements().get(index++).isChildOfClass(ExpressionStmt.class)); in nodeTextForMethod()
770 assertTrue(nodeText.getElements().get(index++).isChildOfClass(AssignExpr.class)); in nodeTextForMethod()
791 assertTrue(nodeText.getElements().get(index++).isChildOfClass(Modifier.class)); in nodeTextForModifiedMethod()
793 assertTrue(nodeText.getElements().get(index++).isChildOfClass(VoidType.class)); in nodeTextForModifiedMethod()
795 assertTrue(nodeText.getElements().get(index++).isChildOfClass(SimpleName.class)); in nodeTextForModifiedMethod()
[all …]