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

@param type - the type to test.
@return <code>true</code> if the given type is an interface.