/** * Gets all the parameter definitions indexed by their names in the surrounding stored procedure * * @param document * @param offset * @return key: String; value: IASTSQLParam */ public HashMap getParameters(IDocument document, int offset) { HashMap map = new HashMap(); SimpleNode context = (SimpleNode) findContainingDeployable(document, offset, _rootNode); //only SP can have parameters if (context != null && context instanceof IASTDeployable) { map = findParameters(document, offset, (IASTDeployable) context); } return map; }