Searched refs:getParentPath (Results 1 - 25 of 28) sorted by relevance

12

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DTreePath.java58 * getLastPathComponent}, and {@code getParentPath}. As {@code JTree}
176 * {@code getLastPathComponent}, and {@code getParentPath}.
191 for(TreePath path = this; path != null; path = path.getParentPath()) {
213 for(TreePath path = this; path != null; path = path.getParentPath()) {
237 path = path.getParentPath();
259 path = path.getParentPath()) {
264 oTreePath = oTreePath.getParentPath();
312 aTreePath = aTreePath.getParentPath();
341 public TreePath getParentPath() { method in class:TreePath
H A DFixedHeightLayoutCache.java192 TreePath parentPath = path.getParentPath();
233 TreePath parentPath = path.getParentPath();
285 TreePath parentPath = path.getParentPath();
304 TreePath parentPath = path.getParentPath();
655 aPath = aPath.getParentPath();
712 path = path.getParentPath();
727 path = path.getParentPath();
H A DVariableHeightLayoutCache.java838 path = path.getParentPath();
865 path = path.getParentPath();
973 aPath = aPath.getParentPath();
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DSourceCodeAnalysisImpl.java372 NewClassTree newClassTree = (NewClassTree)tp.getParentPath().getLeaf();
417 ClassTree clazz = (ClassTree) tp.getParentPath().getLeaf();
429 TypeParameterTree tpt = (TypeParameterTree) tp.getParentPath().getLeaf();
439 VariableTree var = (VariableTree) tp.getParentPath().getLeaf();
447 Tree parent = tp.getParentPath().getLeaf();
576 deepest[0].getParentPath().getLeaf() != getCurrentPath().getLeaf())) {
593 return tp.getParentPath() != null &&
594 tp.getParentPath().getLeaf().getKind() == Kind.NEW_CLASS &&
595 ((NewClassTree) tp.getParentPath().getLeaf()).getIdentifier() == tp.getLeaf();
599 Tree parent = tp.getParentPath()
[all...]
/openjdk10/langtools/test/tools/javac/
H A DT6855236.java79 System.out.println("parent path: " + getCurrentPath().getParentPath());
/openjdk10/langtools/test/tools/javac/annotations/neg/8022765/
H A DVerifyAnnotationsAttributed.java74 throw new IllegalStateException("Not attributed properly: " + getCurrentPath().getParentPath().getLeaf());
H A DVerifyErroneousAnnotationsAttributed.java268 getCurrentPath().getParentPath().getLeaf());
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/util/
H A DTreePath.java136 public TreePath getParentPath() { method in class:TreePath
H A DDocTreePath.java151 public DocTreePath getParentPath() { method in class:DocTreePath
/openjdk10/jdk/src/demo/share/jfc/SampleTree/
H A DSampleTree.java485 TreePath parent = path.getParentPath();
492 if (paths[counter] != null && paths[counter].getParentPath().
572 int p1Index = treeModel.getIndexOfChild(p1.getParentPath().
574 int p2Index = treeModel.getIndexOfChild(p2.getParentPath().
/openjdk10/langtools/test/tools/javac/api/
H A DTestDocComments.java105 int n = (getCurrentPath().getParentPath().getLeaf().getKind() == Tree.Kind.CLASS)
H A DTestTreePath.java88 curr = curr.getParentPath();
H A DTestGetElementReference.java87 if (expected.startsWith("getParentPath:")) {
88 tp = tp.getParentPath();
89 expected = expected.substring("getParentPath:".length());
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJMenuBarOperator.java564 ComponentChooser[] parentPath = getParentPath(choosers);
568 menu = (JMenu) pushMenu(getParentPath(choosers));
589 String[] parentPath = getParentPath(path);
593 menu = (JMenu) pushMenu(getParentPath(path), comparator);
H A DJPopupMenuOperator.java795 ComponentChooser[] parentPath = getParentPath(choosers);
799 menu = (JMenu) pushMenu(getParentPath(choosers));
820 String[] parentPath = getParentPath(path);
824 menu = (JMenu) pushMenu(getParentPath(path), comparator);
H A DJMenuOperator.java670 ComponentChooser[] parentPath = getParentPath(choosers);
695 String[] parentPath = getParentPath(path);
H A DJTreeOperator.java1184 if (path.getParentPath() != null) {
1185 expandPath(path.getParentPath());
1252 if (path.getParentPath() != null) {
1253 expandPath(path.getParentPath());
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTreeUI.java445 final TreePath parentPath = fTrackingPath.getParentPath();
533 final TreePath parentPath = path.getParentPath();
534 if (parentPath != null && (!(parentPath.getParentPath() == null) || tree.isRootVisible())) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint/
H A DEnv.java211 for (TreePath p = path; p != null; p = p.getParentPath()) {
/openjdk10/langtools/test/tools/javac/tree/
H A DTreePosRoundsTest.java156 Tree.Kind enclKind = tp.getParentPath().getLeaf().getKind();
H A DMakeTypeTest.java114 Element decl = trees.getElement(typePath.getParentPath());
/openjdk10/langtools/test/tools/javac/processing/model/
H A DLocalInAnonymous.java214 if (getCurrentPath().getParentPath().getLeaf().getKind() != Tree.Kind.CLASS) {
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJTree.java1344 parent = child.getParentPath();
1360 parent = child.getParentPath();
1361 TreePath prev = getPathForRow(row).getParentPath();
2033 } while( (path=path.getParentPath())!=null );
2092 TreePath parentPath = path.getParentPath();
2110 TreePath parentPath = path.getParentPath();
3618 TreePath parentPath = path.getParentPath();
3634 parentPath = parentPath.getParentPath();
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java367 parentPath = parentPath.getParentPath();
371 parentPath = parentPath.getParentPath();
388 parentPath = path.getParentPath();
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/
H A DJavacTrees.java387 for (TreePath p = path; p != null; p = p.getParentPath()) {
410 if (path.getParentPath().getLeaf() instanceof DCParam) {
411 return attributeParamIdentifier(path.getTreePath(), (DCParam) path.getParentPath().getLeaf());
872 p = p.getParentPath();

Completed in 275 milliseconds

12