public class ConstantProperty2<C> extends ConstantProperty<C> implements IProperty2
ConstantProperty2
extension.Constructor and Description |
---|
ConstantProperty2(C value,
Class<C> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
isGlobalVar()
Always false.
|
boolean |
isLocalVar()
Always false.
|
boolean |
isVar()
Always false.
|
void |
optimize(ICompilationContext ctxt,
IPropertySource source)
Allows to optimize access if target type is known.
|
void |
parentWasRegistered(ICompilationContext ctxt,
IAddon parent)
Notifies this property that the owner has been registered in compilation context.
|
equals, get, getGenericCollectionType, getGenericMapKeyType, getGenericMapValueType, getGenericTypes, getType, getValue, hashCode, isReadable, isWriteable, set, toString
get, getGenericCollectionType, getGenericMapKeyType, getGenericMapValueType, getGenericTypes, getType, isReadable, isWriteable, set
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
get, get, getGenericCollectionType, getGenericCollectionType, getGenericMapKeyType, getGenericMapKeyType, getGenericMapValueType, getGenericMapValueType, getGenericTypes, getGenericTypes, getType, getType, isReadable, isReadable, isWriteable, isWriteable, set, set
public boolean isVar()
isVar
in interface IProperty2
public boolean isLocalVar()
isLocalVar
in interface IProperty2
public boolean isGlobalVar()
isGlobalVar
in interface IProperty2
public void optimize(ICompilationContext ctxt, IPropertySource source)
IProperty2
optimize
in interface IProperty2
ctxt
- Compilation contextsource
- Target type.public void parentWasRegistered(ICompilationContext ctxt, IAddon parent)
IProperty2
parentWasRegistered
in interface IProperty2