IMethodDeclaration function ( String arg0 , String [ ] arg1 , boolean arg2 , boolean arg3 , IMethodDeclaration [ ] arg4 ) { for ( int loc0 = arg4 . length - 1 ; loc0 >= 0 ; loc0 -- ) { if ( isSameMethodSignature ( arg0 , arg1 , arg2 , arg3 , arg4 [ loc0 ] ) ) { return arg4 [ loc0 ] ; } } return null ; }
finds a method by name . this searches for a method with a name and signature . parameter types are only compared by the simple name , no resolving for the fully qualified type name is done . constructors are only compared by parameters , not the name . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isClass concode_elem_sep boolean isSameMethodSignature concode_elem_sep boolean isMemberType concode_elem_sep boolean isDeclaringType concode_elem_sep ICElement getDeclaringClass concode_elem_sep boolean isNamespace concode_elem_sep ICElement[] getFields concode_elem_sep ITranslationUnit getTranslationUnit concode_elem_sep ICElement getDeclaringType concode_elem_sep boolean isClassOrStruct concode_elem_sep ICElement[] getTypes concode_elem_sep ICElement[] getTypes concode_elem_sep IQualifiedTypeName getFullyQualifiedName concode_elem_sep IMethodDeclaration[] getMethods concode_elem_sep ICElement[] getAllTypes