Home
last modified time | relevance | path

Searched refs:getAncestorOfType (Results 1 – 13 of 13) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DFieldDeclaration.java180 …Optional<ClassOrInterfaceDeclaration> parentClass = getAncestorOfType(ClassOrInterfaceDeclaration.… in createGetter()
181 Optional<EnumDeclaration> parentEnum = getAncestorOfType(EnumDeclaration.class); in createGetter()
207 …Optional<ClassOrInterfaceDeclaration> parentClass = getAncestorOfType(ClassOrInterfaceDeclaration.… in createSetter()
208 Optional<EnumDeclaration> parentEnum = getAncestorOfType(EnumDeclaration.class); in createSetter()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DHasParentNode.java55 default <N> Optional<N> getAncestorOfType(Class<N> classType) { in getAncestorOfType() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeParameter.txt21 …ation.getAncestorOfType(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration.class) ==> com.…
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt38 …ructorInvocationStmt.getAncestorOfType(ClassOrInterfaceDeclaration.class) ==> com.github.javaparse…
67 …Line 197) node.getAncestorOfType(CompilationUnit.class) ==> com.github.javaparser.HasParentNode.ge…
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor_J9.txt130 …Line 309) node.getAncestorOfType(CompilationUnit.class) ==> com.github.javaparser.HasParentNode.ge…
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor.txt130 …Line 309) node.getAncestorOfType(CompilationUnit.class) ==> com.github.javaparser.HasParentNode.ge…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserTypeParameter.java124 …rInterfaceDeclaration> jpTypeDeclaration = jpConstructorDeclaration.getAncestorOfType(com.github.j… in getContainer()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java145 …terfaceDeclaration> optAncestor = explicitConstructorInvocationStmt.getAncestorOfType(ClassOrInter… in solve()
183 Optional<CompilationUnit> cu = node.getAncestorOfType(CompilationUnit.class); in solve()
DTypeExtractor.java311 Optional<CompilationUnit> cu = node.getAncestorOfType(CompilationUnit.class); in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java415 getAncestorOfType(CompilationUnit.class).ifPresent(p -> p.addImport(clazz)); in tryAddImportToParentCompilationUnit()
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java423 Type commonType = n.getAncestorOfType(NodeWithVariables.class).get().getMaximumCommonType(); in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java511 n.getAncestorOfType(NodeWithVariables.class).ifPresent(ancestor -> { in visit()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted398 Type commonType = n.getAncestorOfType(NodeWithVariables.class).get().getMaximumCommonType();