public class InterfaceTypePermission extends java.lang.Object implements TypePermission
Modifier and Type | Field and Description |
---|---|
static TypePermission |
INTERFACES |
Constructor and Description |
---|
InterfaceTypePermission() |
Modifier and Type | Method and Description |
---|---|
boolean |
allows(java.lang.Class type)
Check permission for a provided type.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public static final TypePermission INTERFACES
public boolean allows(java.lang.Class type)
TypePermission
allows
in interface TypePermission
type
- the type to checktrue
if provided type is allowed, false
if permission does not handle the typepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2004–2024 XStream. All rights reserved.