public class SimpleProperty2 extends SimpleProperty implements IProperty2
SimpleProperty
extension.Constructor and Description |
---|
SimpleProperty2(String property) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
protected IMethodInvoker |
getReadMethod(IPropertySource source,
boolean mandatory) |
protected IMethodInvoker |
getWriteMethod(IPropertySource target,
boolean mandatory) |
int |
hashCode() |
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, getGenericCollectionType, getGenericMapKeyType, getGenericMapValueType, getGenericTypes, getProperty, getType, getWriteMethodParamType, handleGetFromMap, handleSetInTypedMap, 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 SimpleProperty2(String property)
public boolean isVar()
IProperty2
isVar
in interface IProperty2
public boolean isLocalVar()
IProperty2
isLocalVar
in interface IProperty2
public boolean isGlobalVar()
IProperty2
isGlobalVar
in interface IProperty2
public boolean equals(Object o)
equals
in class SimpleProperty
public int hashCode()
hashCode
in class SimpleProperty
public void optimize(ICompilationContext ctxt, IPropertySource source) throws MRuleValidationException
IProperty2
optimize
in interface IProperty2
ctxt
- Compilation contextsource
- Target type.MRuleValidationException
public void parentWasRegistered(ICompilationContext ctxt, IAddon parent)
IProperty2
parentWasRegistered
in interface IProperty2
protected IMethodInvoker getReadMethod(IPropertySource source, boolean mandatory) throws UtilsException
getReadMethod
in class SimpleProperty
UtilsException
protected IMethodInvoker getWriteMethod(IPropertySource target, boolean mandatory) throws UtilsException
getWriteMethod
in class SimpleProperty
UtilsException