public Symbol getSymbolForInstancesOf ( FunctionType fn ) { checkState ( fn . isConstructor ( ) || fn . isInterface ( ) ) ; ObjectType pType = fn . getPrototype ( ) ; return getSymbolForName ( fn . getSource ( ) , pType . getReferenceName ( ) ) ; }
Gets the symbol for the prototype of the given constructor or interface .