public class UnmarkAsTypeMethod extends java.lang.Object implements EntityMethod
Entity.unmarkAsType(Class)
.UnmarkAsType
,
UnmarkAsTypeFunction
Constructor and Description |
---|
UnmarkAsTypeMethod(java.lang.Class<? extends Entity> type)
Creates a unmark as type method.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Class<? extends Entity>> |
getDependencies()
Optional referenced entity dependencies (empty by default).
|
java.lang.Class<? extends Entity> |
getType()
Gets entity type to unmark as.
|
java.lang.Object |
invoke(java.lang.Object proxy,
Entity entity,
java.lang.Object[] args)
This will invoke the desired functionality for this method using the proxy, entity and
supplied arguments.
|
public UnmarkAsTypeMethod(java.lang.Class<? extends Entity> type)
type
- Entity type to unmark as.public java.util.Set<java.lang.Class<? extends Entity>> getDependencies()
EntityMethod
getDependencies
in interface EntityMethod
public java.lang.Class<? extends Entity> getType()
public java.lang.Object invoke(java.lang.Object proxy, Entity entity, java.lang.Object[] args) throws java.lang.Throwable
EntityMethod
invoke
in interface EntityMethod
proxy
- Possible proxy of entity type.entity
- Entity this proxy is for.args
- Supplied arguments to the original method.java.lang.Throwable
- If the invocation caused an exception.