org.dynalang.mop
public interface ClassBasedMetaobjectProtocol extends MetaobjectProtocol
BaseMetaobjectProtocol.Result
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthoritativeForClass(java.lang.Class clazz)
Returns whether this metaobject protocol has authority over objects of
the specified class.
|
call, call, delete, get, has, propertyIds, put
delete, has, properties, put
call, call, get, representAs
boolean isAuthoritativeForClass(java.lang.Class clazz)
BaseMetaobjectProtocol.Result.noAuthority
for certain objects.
In that case - when used in CompositeClassBasedMetaobjectProtocol
- the other participating MOPs will also be given the chance to handle
the object after this MOP was given the chance first.clazz
- the class of the handled object