|
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
oracle.ide.javaxide.Util
public final class Util
Utilities for interoperating with JSR-198.
Method Summary | ||
---|---|---|
static
|
createInstance(MetaClass metaClass, java.lang.Class<T> expectedSuperType) Create an instance of a meta class, reporting errors if creation fails. |
|
static java.lang.Object |
createInstance(MetaClass metaClass, java.lang.Class expectedSuperType, java.lang.String nameOfType) Create an instance of a meta class, reporting errors if creation fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> T createInstance(MetaClass metaClass, java.lang.Class<T> expectedSuperType)
metaClass
- the meta class to create an instance of.expectedSuperType
- the supertype you expect.public static java.lang.Object createInstance(MetaClass metaClass, java.lang.Class expectedSuperType, java.lang.String nameOfType)
metaClass
- the meta class to create an instance ofexpectedSuperType
- the supertype you expect.nameOfType
- the name of the type to display in messages
|
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 |