|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.ide.model.Element
javax.ide.model.Document
javax.ide.model.text.TextDocument
javax.ide.model.java.JavaSource
public final class JavaSource
The JavaSource class.
| Constructor Summary | |
|---|---|
JavaSource() |
|
| Method Summary | |
|---|---|
ClassD |
getClass(Project project)Fetches a ClassD for the given fully qualified name in source format, null if none. |
| Methods inherited from class javax.ide.model.text.TextDocument |
|---|
getTextModel |
| Methods inherited from class javax.ide.model.Document |
|---|
addDocumentListener, close, equals, getDisplayInfo, getElementImpl, getReader, getTimestamp, getURI, hashCode, isDirty, isNew, isOpen, isReadOnly, markDirty, open, removeDocumentListener, save, setDisplayInfo, setURI |
| Methods inherited from class javax.ide.model.Element |
|---|
getIcon, getLabel, getLongLabel, getToolTip |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaSource()
| Method Detail |
|---|
public final ClassD getClass(Project project)
throws java.io.IOException
void return type, array type, or class type.
If multiple sources of class information are available, the most up-to-date one is returned. For example, suppose we have both a class file C.class and a source file C.java that both provide class information for a class C. If C.class has a more recent timestamp than C.java, then a ClassD built from C.class should be returned.
project - The project used to resolve class.java.io.IOException - If the document cannot be opened.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||