Searched refs:getAncestorOfType (Results 1 – 13 of 13) sorted by relevance
180 …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()
55 default <N> Optional<N> getAncestorOfType(Class<N> classType) { in getAncestorOfType() method
21 …ation.getAncestorOfType(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration.class) ==> com.…
38 …ructorInvocationStmt.getAncestorOfType(ClassOrInterfaceDeclaration.class) ==> com.github.javaparse…67 …Line 197) node.getAncestorOfType(CompilationUnit.class) ==> com.github.javaparser.HasParentNode.ge…
130 …Line 309) node.getAncestorOfType(CompilationUnit.class) ==> com.github.javaparser.HasParentNode.ge…
124 …rInterfaceDeclaration> jpTypeDeclaration = jpConstructorDeclaration.getAncestorOfType(com.github.j… in getContainer()
145 …terfaceDeclaration> optAncestor = explicitConstructorInvocationStmt.getAncestorOfType(ClassOrInter… in solve()183 Optional<CompilationUnit> cu = node.getAncestorOfType(CompilationUnit.class); in solve()
311 Optional<CompilationUnit> cu = node.getAncestorOfType(CompilationUnit.class); in visit()
415 getAncestorOfType(CompilationUnit.class).ifPresent(p -> p.addImport(clazz)); in tryAddImportToParentCompilationUnit()
423 Type commonType = n.getAncestorOfType(NodeWithVariables.class).get().getMaximumCommonType(); in visit()
511 n.getAncestorOfType(NodeWithVariables.class).ifPresent(ancestor -> { in visit()
398 Type commonType = n.getAncestorOfType(NodeWithVariables.class).get().getMaximumCommonType();