public interface InvalidReferenceEventHandler extends EventHandler
This feature should be regarded as experimental.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invalidGetMethod(Context context,
java.lang.String reference,
java.lang.Object object,
java.lang.String property,
Info info)
Called when object is null or there is no getter for the given
property.
|
java.lang.Object |
invalidMethod(Context context,
java.lang.String reference,
java.lang.Object object,
java.lang.String method,
Info info)
Called when object is null or the given method does not exist.
|
boolean |
invalidSetMethod(Context context,
java.lang.String leftreference,
java.lang.String rightreference,
Info info)
Called when object is null or there is no setter for the given
property.
|
java.lang.Object invalidGetMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)
context
- the context when the reference was found invalidreference
- string with complete invalid referenceobject
- the object referred to, or null if not foundproperty
- the property name from the referenceinfo
- contains template, line, column detailsboolean invalidSetMethod(Context context, java.lang.String leftreference, java.lang.String rightreference, Info info)
context
- the context when the reference was found invalidleftreference
- left reference being assigned torightreference
- invalid reference on the rightinfo
- contains info on template, line, coljava.lang.Object invalidMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)
context
- the context when the reference was found invalidreference
- string with complete invalid referenceobject
- the object referred to, or null if not foundmethod
- the name of the (non-existent) methodinfo
- contains template, line, column details