public Symbol getSymbolDeclaredBy ( FunctionType fn ) { checkState ( fn . isConstructor ( ) || fn . isInterface ( ) ) ; ObjectType instanceType = fn . getInstanceType ( ) ; return getSymbolForName ( fn . getSource ( ) , instanceType . getReferenceName ( ) ) ; }
Gets the symbol for the given constructor or interface .