public static boolean isInterface ( LightweightTypeReference type ) { return type . getType ( ) instanceof JvmGenericType && ( ( JvmGenericType ) type . getType ( ) ) . isInterface ( ) ; }
Replies if the given type is an interface .