public class PrimitiveTypePermission extends Object implements TypePermission
Modifier and Type | Field and Description |
---|---|
static TypePermission |
PRIMITIVES |
Constructor and Description |
---|
PrimitiveTypePermission() |
public static final TypePermission PRIMITIVES
public PrimitiveTypePermission()
public boolean allows(Class type)
TypePermission
allows
in interface TypePermission
type
- the type to checktrue
if provided type is allowed, false
if permission does not handle the typeCopyright © 2005–2016. All rights reserved.