public class NoTypePermission extends java.lang.Object implements TypePermission
Can be used to skip any existing default permission.
| Modifier and Type | Field and Description |
|---|---|
static TypePermission |
NONE |
| Constructor and Description |
|---|
NoTypePermission() |
public static final TypePermission NONE
public NoTypePermission()
public boolean allows(java.lang.Class type)
TypePermissionallows in interface TypePermissiontype - the type to checktrue if provided type is allowed, false if permission does not handle the typepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2005-2017. All Rights Reserved.