Class < ? > function ( Type arg0 , boolean arg1 ) { if ( arg0 instanceof Class ) { return ( Class < ? > ) arg0 ; } else if ( arg1 ) { throw new RuntimeException ( "srini_string" + arg0 ) ; } else { return null ; } }
utility function to cast a type to a class . this throws an unchecked exception if the type is not a class . the idea here is that these type references should have been checked for reasonableness before the point of calls to this function . concode_field_sep Logger LOG concode_field_sep AegisType getReadType concode_elem_sep AegisType getReadTypeStandalone concode_elem_sep AegisType getWriteType concode_elem_sep void setAttributeAttributes concode_elem_sep Type getSingleTypeParameter concode_elem_sep Type getSingleTypeParameter concode_elem_sep Class<?> getTypeRelatedClass concode_elem_sep AegisType getWriteTypeStandalone concode_elem_sep AegisType getWriteTypeStandalone