public final class ElementOpen extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
open(ClasspathInfo cpInfo,
Element el)
Opens given
Element. |
static boolean |
open(ClasspathInfo cpInfo,
ElementHandle<? extends Element> el)
Opens
Element corresponding to the given ElementHandle. |
static boolean |
open(FileObject toSearch,
ElementHandle<? extends Element> toOpen)
Opens given
Element. |
public static boolean open(ClasspathInfo cpInfo, ElementHandle<? extends Element> el)
Element corresponding to the given ElementHandle.cpInfo - ClasspathInfo which should be used for the searchel - declaration to openpublic static boolean open(ClasspathInfo cpInfo, Element el)
Element.cpInfo - ClasspathInfo which should be used for the searchel - declaration to openpublic static boolean open(@NonNull FileObject toSearch, @NonNull ElementHandle<? extends Element> toOpen)
Element.toSearch - fileobject whose ClasspathInfo will be usedtoOpen - ElementHandle of the element which should be opened.Built on June 17 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.