public interface IProperty2 extends IProperty
IProperty
extension allowing to handle access to variables (global and local).Modifier and Type | Method and Description |
---|---|
boolean |
isGlobalVar()
This property is an access to global variable.
|
boolean |
isLocalVar()
This property is an access to local variable.
|
boolean |
isVar()
This property is an access to local or global variable.
|
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.
|
get, get, getGenericCollectionType, getGenericCollectionType, getGenericMapKeyType, getGenericMapKeyType, getGenericMapValueType, getGenericMapValueType, getGenericTypes, getGenericTypes, getType, getType, isReadable, isReadable, isWriteable, isWriteable, set, set
void optimize(ICompilationContext ctxt, IPropertySource source) throws MRuleValidationException
ctxt
- Compilation contextsource
- Target type.MRuleValidationException
boolean isLocalVar()
boolean isGlobalVar()
boolean isVar()
void parentWasRegistered(ICompilationContext ctxt, IAddon parent) throws MRuleValidationException
MRuleValidationException