Searched refs:findParent (Results 1 – 8 of 8) sorted by relevance
29 Optional<VariableDeclarator> variableDeclarator = node.findParent(VariableDeclarator.class); in accept()34 .findParent(Parameter.class) in accept()
65 …ResolvedEnumDeclaration enumDeclaration = node.findParent(EnumDeclaration.class).get().resolve().a… in resolveDeclaration()87 …ResolvedAnnotationDeclaration annotationDeclaration = node.findParent(AnnotationDeclaration.class)… in resolveDeclaration()152 … CallableDeclaration callableDeclaration = node.findParent(CallableDeclaration.class).get(); in resolveDeclaration()
31 private static int findParent(int packed_locale, final String script) { in findParent() method in LocaleData76 ancestor = findParent(ancestor, script); in findAncestors()
115 …hub.javaparser.ast.body.TypeDeclaration> typeDeclaration = wrappedNode.findParent(com.github.javap… in declaringType()
341 public void findParent() { in findParent() method in NodeTest344 assertEquals("int x;", x.findParent(FieldDeclaration.class).get().toString()); in findParent()
188 return node.findParent(clazz); in findAncestor()
828 public <N extends Node> Optional<N> findParent(Class<N> nodeType) {
320 def findParent(self, name=None, attrs={}, **kwargs): member in PageElement