public final class HeadlessAwareMetaClassWrapper
extends java.lang.Object
MetaClass
so that it can be
provided or not based on whether it's intended to be available when running
in "headless" mode.Constructor and Description |
---|
HeadlessAwareMetaClassWrapper(MetaClass metaClass,
boolean headless) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
getMetaClass()
Returns the MetaClass when either headless is true or headless is false AND
the Ide is not running in headless mode.
|
public HeadlessAwareMetaClassWrapper(MetaClass metaClass, boolean headless)
public MetaClass getMetaClass()