public class UnmarkAsTypeFunction extends java.lang.Object implements EntityMethodFunction
UnmarkAsType
annotation. It will resolve an
UnmarkAsTypeMethod
to be used by the entity typing system.Entity.unmarkAsType(Class)
.
@UnmarkAsType(Ghost.class)
boolean unmarkGhost();
@UnmarkAsType(Ghost.class)
void unmarkGhost();
NOTE: This function will throw exceptions if UnmarkAsType
is present but the method
signature is invalid.DefaultEntityProxyFactory
Constructor and Description |
---|
UnmarkAsTypeFunction() |
Modifier and Type | Method and Description |
---|---|
UnmarkAsTypeMethod |
apply(java.lang.reflect.Method m) |
public UnmarkAsTypeMethod apply(java.lang.reflect.Method m)
apply
in interface java.util.function.Function<java.lang.reflect.Method,EntityMethod>