void callMethod ( DiagnosticPosition pos , Type site , Name name , List < Type > argtypes , boolean isStatic ) { Symbol msym = rs . resolveInternalMethod ( pos , attrEnv , site , name , argtypes , null ) ; if ( isStatic ) items . makeStaticItem ( msym ) . invoke ( ) ; else items . makeMemberItem ( msym , name == names . init ) . invoke ( ) ; }
Generate code to call a non - private method or constructor .